mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Use = delete instead of private, unimplemented copy operations
This commit is contained in:
@@ -71,9 +71,8 @@ struct AutoReg {
|
||||
|
||||
~AutoReg();
|
||||
|
||||
private:
|
||||
AutoReg( AutoReg const& );
|
||||
void operator= ( AutoReg const& );
|
||||
AutoReg( AutoReg const& ) = delete;
|
||||
AutoReg& operator = (AutoReg const& ) = delete;
|
||||
};
|
||||
|
||||
void registerTestCaseFunction
|
||||
|
Reference in New Issue
Block a user