diff --git a/include/internal/catch_registry_hub.hpp b/include/internal/catch_registry_hub.hpp index 5e83203f..23c9628c 100644 --- a/include/internal/catch_registry_hub.hpp +++ b/include/internal/catch_registry_hub.hpp @@ -20,10 +20,8 @@ namespace Catch { namespace { - class RegistryHub : public IRegistryHub, public IMutableRegistryHub { - - RegistryHub( RegistryHub const& ); - void operator=( RegistryHub const& ); + class RegistryHub : public IRegistryHub, public IMutableRegistryHub, + private NonCopyable { public: // IRegistryHub RegistryHub() {