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

@ -145,15 +145,6 @@ class functionObject
const word name_;
// Private Member Functions
//- Disallow default bitwise copy construct
functionObject(const functionObject&) = delete;
//- Disallow default bitwise assignment
void operator=(const functionObject&) = delete;
public:
//- Runtime type information
@ -192,6 +183,9 @@ public:
return autoPtr<functionObject>(nullptr);
}
//- Disallow default bitwise copy construct
functionObject(const functionObject&) = delete;
// Selectors
@ -245,6 +239,12 @@ public:
//- Update for changes of mesh
virtual void movePoints(const polyMesh& mesh);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const functionObject&) = delete;
};