COMP: use objectHit.H instead of forward declarations

This commit is contained in:
Mark Olesen
2010-12-21 10:56:15 +01:00
parent 57f8210eb0
commit ee9d95f49f
4 changed files with 5 additions and 9 deletions

View File

@ -57,6 +57,7 @@ SourceFiles
#include "point.H" #include "point.H"
#include "intersection.H" #include "intersection.H"
#include "HashSet.H" #include "HashSet.H"
#include "objectHit.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -64,7 +65,6 @@ namespace Foam
{ {
class face; class face;
class objectHit;
template<class T> class Map; template<class T> class Map;
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\

View File

@ -43,9 +43,9 @@ namespace Foam
// Forward declaration of friend functions and operators // Forward declaration of friend functions and operators
class objectHit; class objectHit;
inline bool operator==(const objectHit& a, const objectHit& b); inline bool operator==(const objectHit&, const objectHit&);
inline bool operator!=(const objectHit& a, const objectHit& b); inline bool operator!=(const objectHit&, const objectHit&);
inline Ostream& operator<<(Ostream& os, const objectHit& b); inline Ostream& operator<<(Ostream&, const objectHit&);
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\

View File

@ -61,8 +61,6 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward declaration of classes
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class enrichedPatch Declaration Class enrichedPatch Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -58,15 +58,13 @@ SourceFiles
#include "ZoneIDs.H" #include "ZoneIDs.H"
#include "intersection.H" #include "intersection.H"
#include "Pair.H" #include "Pair.H"
#include "objectHit.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam namespace Foam
{ {
// Forward declaration of classes
class objectHit;
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class slidingInterface Declaration Class slidingInterface Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/