src/OpenFOAM: Moved the deleted bitwise copy and assignment declarations into public section of the class
This commit is contained in:
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user