From 8daf372916c4aea086a32602b0dc980659a07f26 Mon Sep 17 00:00:00 2001 From: Matt Kuruc Date: Thu, 14 Sep 2023 12:02:50 -0700 Subject: [PATCH] Replace `boost::{add,remove}_const` with STL in `pyPtrHelpers.h` --- pxr/base/tf/pyPtrHelpers.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 {