Commit ee9d95f4 authored by Mark Olesen's avatar Mark Olesen
Browse files

COMP: use objectHit.H instead of forward declarations

parent 57f8210e
......@@ -57,6 +57,7 @@ SourceFiles
#include "point.H"
#include "intersection.H"
#include "HashSet.H"
#include "objectHit.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......@@ -64,7 +65,6 @@ namespace Foam
{
class face;
class objectHit;
template<class T> class Map;
/*---------------------------------------------------------------------------*\
......
......@@ -43,9 +43,9 @@ namespace Foam
// Forward declaration of friend functions and operators
class objectHit;
inline bool operator==(const objectHit& a, const objectHit& b);
inline bool operator!=(const objectHit& a, const objectHit& b);
inline Ostream& operator<<(Ostream& os, const objectHit& b);
inline bool operator==(const objectHit&, const objectHit&);
inline bool operator!=(const objectHit&, const objectHit&);
inline Ostream& operator<<(Ostream&, const objectHit&);
/*---------------------------------------------------------------------------*\
......
......@@ -61,8 +61,6 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
/*---------------------------------------------------------------------------*\
Class enrichedPatch Declaration
\*---------------------------------------------------------------------------*/
......
......@@ -58,15 +58,13 @@ SourceFiles
#include "ZoneIDs.H"
#include "intersection.H"
#include "Pair.H"
#include "objectHit.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
{
// Forward declaration of classes
class objectHit;
/*---------------------------------------------------------------------------*\
Class slidingInterface Declaration
\*---------------------------------------------------------------------------*/
......
Markdown is supported
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