mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: consistent use of '= delete'
This commit is contained in:
@ -54,11 +54,14 @@ class ${typeName}Points0MotionSolver
|
||||
{
|
||||
// Private Member Functions
|
||||
|
||||
//- Disallow default bitwise copy construct
|
||||
${typeName}Points0MotionSolver(const ${typeName}Points0MotionSolver&);
|
||||
//- No copy construct
|
||||
${typeName}Points0MotionSolver
|
||||
(
|
||||
const ${typeName}Points0MotionSolver&
|
||||
) = delete;
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const ${typeName}Points0MotionSolver&);
|
||||
//- No copy assignment
|
||||
void operator=(const ${typeName}Points0MotionSolver&) = delete;
|
||||
|
||||
|
||||
public:
|
||||
@ -88,7 +91,7 @@ public:
|
||||
|
||||
//- Solve for motion
|
||||
virtual void solve()
|
||||
{};
|
||||
{}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user