From 33f18696bb017e986582c5bf863dfcf5a63d1454 Mon Sep 17 00:00:00 2001 From: superfunc Date: Sun, 16 Sep 2018 12:29:51 -0700 Subject: [PATCH] Remove boost/noncopyable --- pxr/usdImaging/lib/usdImaging/collectionCache.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pxr/usdImaging/lib/usdImaging/collectionCache.h b/pxr/usdImaging/lib/usdImaging/collectionCache.h index b847b409fa..e9f4b54022 100644 --- a/pxr/usdImaging/lib/usdImaging/collectionCache.h +++ b/pxr/usdImaging/lib/usdImaging/collectionCache.h @@ -30,7 +30,6 @@ #include "pxr/usdImaging/usdImaging/api.h" #include "pxr/usd/usd/collectionAPI.h" -#include #include #include #include @@ -55,8 +54,12 @@ PXR_NAMESPACE_OPEN_SCOPE /// As an optimization, the query that includes everything is /// treated as a special case and given the empty id, TfToken(). /// -class UsdImaging_CollectionCache : boost::noncopyable { +class UsdImaging_CollectionCache { public: + // Disallow copies + UsdImaging_CollectionCache(const UsdImaging_CollectionCache&) = delete; + UsdImaging_CollectionCache& operator=(const UsdImaging_CollectionCache&) = delete; + /// Query is the MembershipQuery computed from a collection's state. typedef UsdCollectionAPI::MembershipQuery Query;