Added "= delete" to disabled bitwise copy constructors and assignment operators
Currently these deleted function declarations are still in the private section of the class declarations but will be moved by hand to the public section over time as this is too complex to automate reliably.
This commit is contained in:
@ -148,10 +148,10 @@ class functionObject
|
||||
// Private Member Functions
|
||||
|
||||
//- Disallow default bitwise copy construct
|
||||
functionObject(const functionObject&);
|
||||
functionObject(const functionObject&) = delete;
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const functionObject&);
|
||||
void operator=(const functionObject&) = delete;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user