diff --git a/pxr/usd/lib/kind/registry.h b/pxr/usd/lib/kind/registry.h index 483f06cc65..91d05e3797 100644 --- a/pxr/usd/lib/kind/registry.h +++ b/pxr/usd/lib/kind/registry.h @@ -33,7 +33,6 @@ #include "pxr/base/tf/staticTokens.h" #include "pxr/base/tf/token.h" -#include #include #include @@ -68,9 +67,13 @@ TF_DECLARE_PUBLIC_TOKENS(KindTokens, KIND_API, KIND_TOKENS); /// To make this robust, KindRegistry exposes no means to mutate the registry. /// All extensions must be accomplished via plugInfo.json files, which are /// consumed once during the registry initialization (See \ref kind_extensions ) -class KindRegistry : public TfWeakBase, boost::noncopyable +class KindRegistry : public TfWeakBase { public: + // Disallow copies + KindRegistry(const KindRegistry&) = delete; + KindRegistry& operator=(const KindRegistry&) = delete; + /// Return the single \c KindRegistry instance. KIND_API static KindRegistry& GetInstance();