Inherit from NonCopyable to disable RegisterHub copies
This commit is contained in:
1 parent
860de28b8d
commit
47c8994a61
1 file changed
+2
-4
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user