mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: silence some compiler warnings/errors
- catch (value) - forward declarations for operator<<() - non-const access to Reaction name() - spurious return statement
This commit is contained in:
@ -56,6 +56,8 @@ namespace Foam
|
||||
{
|
||||
|
||||
class faBoundaryMesh;
|
||||
class faPatch;
|
||||
Ostream& operator<<(Ostream&, const faPatch&);
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class faPatch Declaration
|
||||
@ -91,10 +93,10 @@ private:
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
//- Disallow construct as copy
|
||||
//- No copy construct
|
||||
faPatch(const faPatch&) = delete;
|
||||
|
||||
//- Disallow assignment
|
||||
//- No copy assignment
|
||||
void operator=(const faPatch&) = delete;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user