mirror of https://github.com/CGAL/cgal
Fix precision warning and add missinf ifdefs for polyhedron_iostream
This commit is contained in:
parent
791f38535a
commit
0149977558
|
|
@ -18,7 +18,10 @@
|
||||||
#include <CGAL/IO/Polyhedron_OFF_iostream.h>
|
#include <CGAL/IO/Polyhedron_OFF_iostream.h>
|
||||||
#include <CGAL/IO/Polyhedron_VRML_1_ostream.h>
|
#include <CGAL/IO/Polyhedron_VRML_1_ostream.h>
|
||||||
#include <CGAL/IO/Polyhedron_VRML_2_ostream.h>
|
#include <CGAL/IO/Polyhedron_VRML_2_ostream.h>
|
||||||
|
#ifdef CGAL_USE_GEOMVIEW
|
||||||
#include <CGAL/IO/Polyhedron_geomview_ostream.h>
|
#include <CGAL/IO/Polyhedron_geomview_ostream.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <CGAL/IO/Polyhedron_inventor_ostream.h>
|
#include <CGAL/IO/Polyhedron_inventor_ostream.h>
|
||||||
|
|
||||||
#endif // CGAL_IO_POLYHEDRON_IOSTREAM_H
|
#endif // CGAL_IO_POLYHEDRON_IOSTREAM_H
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ public:
|
||||||
bool good() const { return m_os->good(); }
|
bool good() const { return m_os->good(); }
|
||||||
|
|
||||||
void precision(const int p) { m_os->precision(p); }
|
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()
|
explicit operator bool()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ public:
|
||||||
bool good() const { return m_os->good(); }
|
bool good() const { return m_os->good(); }
|
||||||
|
|
||||||
void precision(const int p) { m_os->precision(p); }
|
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(); }
|
explicit operator bool () { return m_os && !m_os->fail(); }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue