Fix error/warnings

This commit is contained in:
Simon Giraudot 2019-04-24 10:30:03 +02:00
parent 70aab39fa6
commit 4d1efe18b8
2 changed files with 1 additions and 16 deletions

View File

@ -37,7 +37,7 @@ class Surface_mesh_filler
public:
typedef typename Kernel_traits<Point>::Kernel Kernel;
typedef typename Kernel::Vector_3 Vector;
typedef Surface_mesh<Point> Surface_mesh;
typedef CGAL::Surface_mesh<Point> Surface_mesh;
typedef typename Surface_mesh::Vertex_index Vertex_index;
typedef typename Surface_mesh::Face_index Face_index;
typedef typename Surface_mesh::Edge_index Edge_index;

View File

@ -2185,26 +2185,11 @@ private: //------------------------------------------------------- private data
bool write_ply(std::ostream& os, const Surface_mesh<P>& sm, const std::string& comments = std::string())
{
typedef Surface_mesh<P> SMesh;
typedef typename Kernel_traits<P>::Kernel K;
typedef typename K::Vector_3 Vector;
typedef typename SMesh::Vertex_index VIndex;
typedef typename SMesh::Face_index FIndex;
typedef typename SMesh::Edge_index EIndex;
typedef typename SMesh::Halfedge_index HIndex;
typedef typename SMesh::template Property_map<FIndex, Color> Fcolor_map;
typedef typename SMesh::template Property_map<FIndex, boost::int8_t> Int8_map_f;
typedef typename SMesh::template Property_map<FIndex, boost::uint8_t> Uint8_map_f;
typedef typename SMesh::template Property_map<FIndex, boost::int16_t> Int16_map_f;
typedef typename SMesh::template Property_map<FIndex, boost::uint16_t> Uint16_map_f;
typedef typename SMesh::template Property_map<FIndex, boost::int32_t> Int32_map_f;
typedef typename SMesh::template Property_map<FIndex, boost::uint32_t> Uint32_map_f;
typedef typename SMesh::template Property_map<FIndex, boost::int64_t> Int64_map_f;
typedef typename SMesh::template Property_map<FIndex, boost::uint64_t> Uint64_map_f;
typedef typename SMesh::template Property_map<FIndex, float> Float_map_f;
typedef typename SMesh::template Property_map<FIndex, double> Double_map_f;
os << "ply" << std::endl
<< ((get_mode(os) == IO::BINARY) ? "format binary_little_endian 1.0" : "format ascii 1.0") << std::endl
<< "comment Generated by the CGAL library" << std::endl;