X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=resource%2Finclude%2FOCRepresentation.h;h=4d1d24a99acb35067f862b6b10eabd9b85f8820d;hb=390866079e285d2c74918432c0d597d5da52f8a0;hp=e7bbccbe924b152b6a91533b93f85dcc08c5f28f;hpb=3e9402ad71cb3e93266a77796f44d17bab9853fd;p=platform%2Fupstream%2Fiotivity.git diff --git a/resource/include/OCRepresentation.h b/resource/include/OCRepresentation.h index e7bbccb..4d1d24a 100644 --- a/resource/include/OCRepresentation.h +++ b/resource/include/OCRepresentation.h @@ -25,8 +25,8 @@ * to OCRepresentation. */ -#ifndef __OCREPRESENTATION_H -#define __OCREPRESENTATION_H +#ifndef OC_REPRESENTATION_H_ +#define OC_REPRESENTATION_H_ #include @@ -296,27 +296,10 @@ namespace OC // ambigious conversions in the case where conversions can include a number of // types, such as the string constructor. template::value || - std::is_same::value || - std::is_same::value || - std::is_same::value || - std::is_same::value || - std::is_same>::value || - std::is_same>>::value || - std::is_same>>>::value || - std::is_same>::value || - std::is_same>>::value || - std::is_same>>>::value || - std::is_same>::value || - std::is_same>>::value || - std::is_same>>>::value || - std::is_same>::value || - std::is_same>>::value || - std::is_same>>>::value || - std::is_same>::value || - std::is_same>>::value || - std::is_same>>>::value - , int>::type = 0// enable_if + is_component::type + >::value + , int>::type = 0 > operator T() const { @@ -470,5 +453,5 @@ namespace OC } // namespace OC -#endif //__OCREPRESENTATION_H +#endif // OC_REPRESENTATION_H_