src/OpenFOAM: Moved the deleted bitwise copy and assignment declarations into public section of the class
This commit is contained in:
@ -117,17 +117,6 @@ protected:
|
||||
virtual void writeObject(const regIOobject& obj);
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
//- Disallow default bitwise copy construct
|
||||
writeObjectsBase(const writeObjectsBase&) = delete;
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const writeObjectsBase&) = delete;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
// Constructors
|
||||
@ -139,6 +128,9 @@ public:
|
||||
const Switch& logRef
|
||||
);
|
||||
|
||||
//- Disallow default bitwise copy construct
|
||||
writeObjectsBase(const writeObjectsBase&) = delete;
|
||||
|
||||
|
||||
//- Destructor
|
||||
virtual ~writeObjectsBase();
|
||||
@ -154,6 +146,12 @@ public:
|
||||
|
||||
//- Write function
|
||||
virtual bool write();
|
||||
|
||||
|
||||
// Member Operators
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const writeObjectsBase&) = delete;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user