diff --git a/pxr/base/tf/pyEnum.h b/pxr/base/tf/pyEnum.h index ca68251887..754e674aeb 100644 --- a/pxr/base/tf/pyEnum.h +++ b/pxr/base/tf/pyEnum.h @@ -112,8 +112,8 @@ class Tf_PyEnumRegistry { // In the case of producing a TfEnum or an integer, any // registered enum type is fine. In all other cases, the // enum types must match. - if (boost::is_same::value || - (boost::is_integral::value && !boost::is_enum::value)) + if (std::is_same::value || + (std::is_integral::value && !std::is_enum::value)) return i != o2e.end() ? obj : 0; else return (i != o2e.end() && i->second.IsA()) ? obj : 0;