COMP: fix inline friend declarations (gcc-4.8.5)

This commit is contained in:
Mark Olesen
2021-01-27 09:41:49 +01:00
parent 8bda4fadbe
commit aa1e1eb15d
12 changed files with 29 additions and 47 deletions

View File

@ -47,9 +47,9 @@ SourceFiles
namespace Foam
{
// Forward declaration of friend functions and operators
// Forward Declarations
class STLtriangle;
Ostream& operator<<(Ostream& os, const STLtriangle& tri);
inline Ostream& operator<<(Ostream& os, const STLtriangle& tri);
/*---------------------------------------------------------------------------*\
Class STLtriangle Declaration
@ -141,10 +141,10 @@ public:
);
// Ostream operator
// Ostream Operator
//- Print triangle contents
inline friend Ostream& operator<<(Ostream& os, const STLtriangle& tri);
friend Ostream& operator<<(Ostream& os, const STLtriangle& tri);
};