Skip to content
Snippets Groups Projects
Commit a6d37e57 authored by mark's avatar mark
Browse files

COMP: silence some compiler warnings

- remove some spurious regExp includes
parent 403520ce
Branches
Tags
No related merge requests found
......@@ -22,7 +22,7 @@ VTK
---
If using the runTimePostProcessing to create on-the-fly images, you
can either simply just compile ParaView-5.0.1 and these libraries will
can simply just compile ParaView-5.0.1 and these libraries will
be used.
If you elect to use a separate VTK compilation (for example for
......
......@@ -100,7 +100,7 @@ Foam::Ostream& Foam::FixedList<T, Size>::writeList
else if
(
Size <= 1 || !shortListLen
|| (Size <= shortListLen && contiguous<T>())
|| (Size <= unsigned(shortListLen) && contiguous<T>())
)
{
// Write start delimiter
......
......@@ -26,7 +26,6 @@ License
#include "dictionary.H"
#include "IFstream.H"
#include "inputModeEntry.H"
#include "regExp.H"
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
......
......@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2009-2016 Bernhard Gschaider
\\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd.
\\/ M anipulation | Copyright (C) 2016-2107 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
......@@ -225,6 +225,10 @@ public:
};
// Forward declaration of friend functions and operators
Ostream& operator<<(Ostream& os, const profiling::Information& info);
/*---------------------------------------------------------------------------*\
Class profiling::Information Declaration
\*---------------------------------------------------------------------------*/
......@@ -385,7 +389,7 @@ public:
// IOstream Operators
friend Ostream& operator<<(Ostream&, const Information&);
friend Ostream& operator<<(Ostream& os, const Information& info);
};
......
......@@ -49,6 +49,18 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class Istream;
class Ostream;
// Forward declaration of friend functions and operators
class eddy;
bool operator==(const eddy& a, const eddy& b);
bool operator!=(const eddy& a, const eddy& b);
Istream& operator>>(Istream& is, eddy& e);
Ostream& operator<<(Ostream& os, const eddy& e);
/*---------------------------------------------------------------------------*\
Class eddy Declaration
\*---------------------------------------------------------------------------*/
......
......@@ -31,7 +31,6 @@ License
#include "ensightSerialOutput.H"
#include "ensightPTraits.H"
#include "OStringStream.H"
#include "regExp.H"
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
......
......@@ -55,7 +55,7 @@ class surfZone;
// Forward declaration of friend functions and operators
class triSurface;
Istream& operator>>(Istream&, triSurface&);
Ostream& operator<<(Ostream&, const triSurface&);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment