Fix precision warning and add missinf ifdefs for polyhedron_iostream

This commit is contained in:
Maxime Gimeno 2020-10-23 09:10:53 +02:00
parent 791f38535a
commit 0149977558
3 changed files with 5 additions and 2 deletions

View File

@ -18,7 +18,10 @@
#include <CGAL/IO/Polyhedron_OFF_iostream.h>
#include <CGAL/IO/Polyhedron_VRML_1_ostream.h>
#include <CGAL/IO/Polyhedron_VRML_2_ostream.h>
#ifdef CGAL_USE_GEOMVIEW
#include <CGAL/IO/Polyhedron_geomview_ostream.h>
#endif
#include <CGAL/IO/Polyhedron_inventor_ostream.h>
#endif // CGAL_IO_POLYHEDRON_IOSTREAM_H

View File

@ -49,7 +49,7 @@ public:
bool good() const { return m_os->good(); }
void precision(const int p) { m_os->precision(p); }
int precision() const { return m_os->precision(); }
std::streamsize precision() const { return m_os->precision(); }
explicit operator bool()
{

View File

@ -43,7 +43,7 @@ public:
bool good() const { return m_os->good(); }
void precision(const int p) { m_os->precision(p); }
int precision() const { return m_os->precision(); }
std::streamsize precision() const { return m_os->precision(); }
explicit operator bool () { return m_os && !m_os->fail(); }