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:
Mark Olesen
2018-05-07 17:21:56 +02:00
parent 272e09b051
commit 2f567e53de
10 changed files with 23 additions and 39 deletions

View File

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