Commit 4f4913d2 authored by Michael Turner's avatar Michael Turner

bool operator fix

parent c842013e
......@@ -163,8 +163,8 @@ namespace NekMeshUtils
/// Shared pointer to an edge.
typedef boost::shared_ptr<Edge> EdgeSharedPtr;
bool operator==(EdgeSharedPtr const &p1, EdgeSharedPtr const &p2);
bool operator< (EdgeSharedPtr const &p1, EdgeSharedPtr const &p2);
NEKMESHUTILS_EXPORT bool operator==(EdgeSharedPtr const &p1, EdgeSharedPtr const &p2);
NEKMESHUTILS_EXPORT bool operator< (EdgeSharedPtr const &p1, EdgeSharedPtr const &p2);
/**
* @brief Defines a hash function for edges.
......
......@@ -42,7 +42,7 @@ namespace Nektar
namespace NekMeshUtils
{
NEKMESHUTILS_EXPORT ElementFactory& GetElementFactory()
ElementFactory& GetElementFactory()
{
typedef Loki::SingletonHolder<ElementFactory,
Loki::CreateUsingNew,
......
......@@ -353,8 +353,8 @@ namespace NekMeshUtils
/// Shared pointer to a face.
typedef boost::shared_ptr<Face> FaceSharedPtr;
bool operator==(FaceSharedPtr const &p1, FaceSharedPtr const &p2);
bool operator< (FaceSharedPtr const &p1, FaceSharedPtr const &p2);
NEKMESHUTILS_EXPORT bool operator==(FaceSharedPtr const &p1, FaceSharedPtr const &p2);
NEKMESHUTILS_EXPORT bool operator< (FaceSharedPtr const &p1, FaceSharedPtr const &p2);
struct FaceHash : std::unary_function<FaceSharedPtr, std::size_t>
{
......
......@@ -305,9 +305,9 @@ namespace NekMeshUtils
};
/// Shared pointer to a Node.
bool operator==(NodeSharedPtr const &p1, NodeSharedPtr const &p2);
bool operator< (NodeSharedPtr const &p1, NodeSharedPtr const &p2);
bool operator!=(NodeSharedPtr const &p1, NodeSharedPtr const &p2);
NEKMESHUTILS_EXPORT bool operator==(NodeSharedPtr const &p1, NodeSharedPtr const &p2);
NEKMESHUTILS_EXPORT bool operator< (NodeSharedPtr const &p1, NodeSharedPtr const &p2);
NEKMESHUTILS_EXPORT bool operator!=(NodeSharedPtr const &p1, NodeSharedPtr const &p2);
std::ostream &operator<<(std::ostream &os, const NodeSharedPtr &n);
/**
......
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