diff --git a/Geo/OCC_Connect.cpp b/Geo/OCC_Connect.cpp index 1e9dbb9d0c1c4b5d82ff6bef22749a17ba914575..a299a2f1b95098fffb9f2cdd0bc00204f5bfb1d5 100644 --- a/Geo/OCC_Connect.cpp +++ b/Geo/OCC_Connect.cpp @@ -60,6 +60,7 @@ // Printing routines //////////////////////////////////////////////////////////////////////////////// +/* static inline ostream &operator <<(ostream &o,const TopAbs_ShapeEnum &A) { switch(A) { @@ -86,12 +87,14 @@ static inline ostream &operator <<(ostream &o,const TopAbs_State &A) default: return o << "Unknown"; } } +*/ static inline ostream &operator <<(ostream &o,const gp_Pnt &p) { return o << "(" << p.Coord(1) << "," << p.Coord(2) << "," << p.Coord(3) << ")"; } +/* static inline ostream &operator <<(ostream &o,const TopOpeBRep_P2Dstatus &A) { switch(A) { @@ -103,6 +106,7 @@ static inline ostream &operator <<(ostream &o,const TopOpeBRep_P2Dstatus &A) default: return o << "Unknown"; } } +*/ template <typename T> static inline std::ostream &operator<<(std::ostream &out, std::set<T> const &a) diff --git a/Mesh/filterElements.cpp b/Mesh/filterElements.cpp index 43c52347dcfd3e50fca72fbdc96f773ba8ccdbaa..912f37a9e48091bc0d8bbe42ef00d23030ea26f3 100644 --- a/Mesh/filterElements.cpp +++ b/Mesh/filterElements.cpp @@ -150,7 +150,7 @@ void filterColumns(std::vector<MElement*> &elem, // delete c[i]; } } - printf("%d --> %d\n",elem.size(),toKeep.size()); + printf("%lu --> %lu\n",elem.size(),toKeep.size()); elem = toKeep; }