src/OpenFOAM: Moved the deleted bitwise copy and assignment declarations into public section of the class
This commit is contained in:
@ -70,12 +70,6 @@ class functionEntry
|
||||
//- Read line as string token
|
||||
static token readLine(const word& key, Istream& is);
|
||||
|
||||
//- Disallow default bitwise copy construct
|
||||
functionEntry(const functionEntry&) = delete;
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const functionEntry&) = delete;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
@ -84,6 +78,9 @@ public:
|
||||
//- Construct from keyword, parent dictionary and Istream
|
||||
functionEntry(const word&, const dictionary&, Istream&);
|
||||
|
||||
//- Disallow default bitwise copy construct
|
||||
functionEntry(const functionEntry&) = delete;
|
||||
|
||||
|
||||
// Member Function Selectors
|
||||
|
||||
@ -133,6 +130,12 @@ public:
|
||||
|
||||
//- Write
|
||||
virtual void write(Ostream&) const;
|
||||
|
||||
|
||||
// Member Operators
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const functionEntry&) = delete;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user