From 67b6ec3b317f996cdbb339ec966da2be532f1f00 Mon Sep 17 00:00:00 2001 From: Matt Kuruc Date: Thu, 26 Jan 2023 15:07:51 -0800 Subject: [PATCH] Replace boost::noncopyable with explicit deletion of copy constructor and assignment operator in pxr/usd/usd --- pxr/usd/usd/schemaRegistry.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pxr/usd/usd/schemaRegistry.h b/pxr/usd/usd/schemaRegistry.h index 3a48b6e462..b5adf1db7e 100644 --- a/pxr/usd/usd/schemaRegistry.h +++ b/pxr/usd/usd/schemaRegistry.h @@ -66,7 +66,9 @@ using UsdSchemaVersion = unsigned int; /// classes, to enumerate all properties for a given schema class, and finally /// to provide fallback values for unauthored built-in properties. /// -class UsdSchemaRegistry : public TfWeakBase, boost::noncopyable { +class UsdSchemaRegistry : public TfWeakBase { + UsdSchemaRegistry(const UsdSchemaRegistry&) = delete; + UsdSchemaRegistry& operator=(const UsdSchemaRegistry&) = delete; public: using TokenToTokenVectorMap = std::unordered_map;