mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: consistent use of '= delete'
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user