mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: silence some compiler warnings
- remove some spurious regExp includes
This commit is contained in:
@ -22,7 +22,7 @@ VTK
|
|||||||
---
|
---
|
||||||
|
|
||||||
If using the runTimePostProcessing to create on-the-fly images, you
|
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.
|
be used.
|
||||||
|
|
||||||
If you elect to use a separate VTK compilation (for example for
|
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
|
else if
|
||||||
(
|
(
|
||||||
Size <= 1 || !shortListLen
|
Size <= 1 || !shortListLen
|
||||||
|| (Size <= shortListLen && contiguous<T>())
|
|| (Size <= unsigned(shortListLen) && contiguous<T>())
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
// Write start delimiter
|
// Write start delimiter
|
||||||
|
|||||||
@ -26,7 +26,6 @@ License
|
|||||||
#include "dictionary.H"
|
#include "dictionary.H"
|
||||||
#include "IFstream.H"
|
#include "IFstream.H"
|
||||||
#include "inputModeEntry.H"
|
#include "inputModeEntry.H"
|
||||||
#include "regExp.H"
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2009-2016 Bernhard Gschaider
|
\\ / A nd | Copyright (C) 2009-2016 Bernhard Gschaider
|
||||||
\\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd.
|
\\/ M anipulation | Copyright (C) 2016-2107 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
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
|
Class profiling::Information Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
@ -385,7 +389,7 @@ public:
|
|||||||
|
|
||||||
// IOstream Operators
|
// IOstream Operators
|
||||||
|
|
||||||
friend Ostream& operator<<(Ostream&, const Information&);
|
friend Ostream& operator<<(Ostream& os, const Information& info);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -49,6 +49,18 @@ SourceFiles
|
|||||||
namespace Foam
|
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
|
Class eddy Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|||||||
@ -31,7 +31,6 @@ License
|
|||||||
#include "ensightSerialOutput.H"
|
#include "ensightSerialOutput.H"
|
||||||
#include "ensightPTraits.H"
|
#include "ensightPTraits.H"
|
||||||
#include "OStringStream.H"
|
#include "OStringStream.H"
|
||||||
#include "regExp.H"
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|||||||
@ -55,7 +55,7 @@ class surfZone;
|
|||||||
// Forward declaration of friend functions and operators
|
// Forward declaration of friend functions and operators
|
||||||
|
|
||||||
class triSurface;
|
class triSurface;
|
||||||
|
Istream& operator>>(Istream&, triSurface&);
|
||||||
Ostream& operator<<(Ostream&, const triSurface&);
|
Ostream& operator<<(Ostream&, const triSurface&);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user