diff --git a/pxr/base/tf/pyPtrHelpers.h b/pxr/base/tf/pyPtrHelpers.h index 066ead2ddd..cbe3f1cccf 100644 --- a/pxr/base/tf/pyPtrHelpers.h +++ b/pxr/base/tf/pyPtrHelpers.h @@ -53,6 +53,7 @@ #include #include +#include PXR_NAMESPACE_OPEN_SCOPE @@ -114,8 +115,8 @@ using namespace boost::python; template struct _PtrInterface { typedef typename Ptr::DataType Pointee; - typedef typename boost::add_const::type ConstPointee; - typedef typename boost::remove_const::type NonConstPointee; + using ConstPointee = std::add_const_t; + using NonConstPointee = std::remove_const_t; template struct Rebind {