src/OpenFOAM: Moved the deleted bitwise copy and assignment declarations into public section of the class

This commit is contained in:
Henry Weller
2019-05-29 15:48:49 +01:00
parent a7f4147887
commit f7ea836c65
132 changed files with 1155 additions and 1022 deletions

View File

@ -51,16 +51,16 @@ class NullObject
NullObject()
{}
public:
//- The unique null object
static const NullObject nullObject;
//- Disallow default bitwise copy construct
NullObject(const NullObject&) = delete;
//- Disallow default bitwise assignment
void operator=(const NullObject&) = delete;
public:
//- The unique null object
static const NullObject nullObject;
};