mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Use = delete instead of private, unimplemented copy operations
This commit is contained in:
parent
0bb9f52a99
commit
3f6c078173
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user