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

@ -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;
};