Change-Id: I3dea89be5e76b8b022837418e7cf181a985de413
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1293
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
template< typename T, enable_if_supported< T >* = nullptr >
bool isTypeOf() const
{
- using iter = boost::mpl::find< ValueVariant::types, int >::type;
+ using iter = typename boost::mpl::find< ValueVariant::types, T >::type;
return m_data->which()
== boost::mpl::distance< mpl_begin< ValueVariant::types >, iter >::value;