Remove boost usage.

This commit is contained in:
Ryan Curtin
2022-03-29 21:22:59 -04:00
parent 2da71b1f36
commit 112016ccf1
@@ -21,7 +21,7 @@ namespace python {
template<typename T>
inline bool IsSerializable(
util::ParamData& /* d */,
const typename boost::disable_if<data::HasSerialize<T>>::type* = 0)
const typename std::enable_if<!data::HasSerialize<T>::value>::type* = 0)
{
return false;
}
@@ -29,7 +29,7 @@ inline bool IsSerializable(
template<typename T>
inline bool IsSerializable(
util::ParamData& /* d */,
const typename boost::enable_if<data::HasSerialize<T>>::type* = 0)
const typename std::enable_if<data::HasSerialize<T>::value>::type* = 0)
{
return true;
}