STYLE: consistent use of '= delete'

This commit is contained in:
Mark Olesen
2018-05-30 12:03:17 +02:00
parent 5aa955c9d2
commit dc521b95df
18 changed files with 63 additions and 63 deletions

View File

@ -81,11 +81,11 @@ class freePiston
// Private Member Functions
//- Disallow default bitwise copy construct
freePiston(const freePiston&);
//- No copy construct
freePiston(const freePiston&) = delete;
//- Disallow default bitwise assignment
void operator=(const freePiston&);
//- No copy assignment
void operator=(const freePiston&) = delete;
public:
@ -108,8 +108,7 @@ public:
);
//- Destructor
virtual ~freePiston()
{}
virtual ~freePiston() = default;
// Member Functions