Use = delete instead of private, unimplemented copy operations

This commit is contained in:
Martin Hořeňovský 2017-07-12 15:11:23 +02:00
parent 0bb9f52a99
commit 3f6c078173

View File

@ -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