Warning fix: missing return

This commit is contained in:
Simon Giraudot 2017-07-11 08:13:43 +02:00
parent 99bd05e72e
commit 66cd564be4
1 changed files with 6 additions and 1 deletions

View File

@ -289,7 +289,8 @@ read_off_point_set(
} }
#if (!defined(CGAL_CFG_NO_CPP0X_RVALUE_REFERENCE) && !defined(CGAL_CFG_NO_CPP0X_VARIADIC_TEMPLATES)) || defined(DOXYGEN_RUNNING) //#if (!defined(CGAL_CFG_NO_CPP0X_RVALUE_REFERENCE) && !defined(CGAL_CFG_NO_CPP0X_VARIADIC_TEMPLATES)) || defined(DOXYGEN_RUNNING)
#if 0
/*! /*!
\ingroup PkgPointSet3IO \ingroup PkgPointSet3IO
*/ */
@ -628,24 +629,28 @@ bool
read_ply_point_set(std::istream&, CGAL::Point_set_3<Point, Vector>&) read_ply_point_set(std::istream&, CGAL::Point_set_3<Point, Vector>&)
{ {
CGAL_static_assertion_msg (false, "CGAL PLY reader requires a C++11 compiler"); CGAL_static_assertion_msg (false, "CGAL PLY reader requires a C++11 compiler");
return false;
} }
template <typename Point, typename Vector> template <typename Point, typename Vector>
bool bool
write_ply_point_set(std::ostream&, const CGAL::Point_set_3<Point, Vector>&) write_ply_point_set(std::ostream&, const CGAL::Point_set_3<Point, Vector>&)
{ {
CGAL_static_assertion_msg (false, "CGAL PLY writer requires a C++11 compiler"); CGAL_static_assertion_msg (false, "CGAL PLY writer requires a C++11 compiler");
return false;
} }
template <typename Point, typename Vector> template <typename Point, typename Vector>
bool bool
read_las_point_set(std::istream&, CGAL::Point_set_3<Point, Vector>&) read_las_point_set(std::istream&, CGAL::Point_set_3<Point, Vector>&)
{ {
CGAL_static_assertion_msg (false, "CGAL LAS reader requires a C++11 compiler"); CGAL_static_assertion_msg (false, "CGAL LAS reader requires a C++11 compiler");
return false;
} }
template <typename Point, typename Vector> template <typename Point, typename Vector>
bool bool
write_las_point_set(std::ostream&, const CGAL::Point_set_3<Point, Vector>&) write_las_point_set(std::ostream&, const CGAL::Point_set_3<Point, Vector>&)
{ {
CGAL_static_assertion_msg (false, "CGAL LAS writer requires a C++11 compiler"); CGAL_static_assertion_msg (false, "CGAL LAS writer requires a C++11 compiler");
return false;
} }
#endif // CXX11 #endif // CXX11