From 17df9b5484fe68c3ced8f33b95ab3b3d3c3447fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 9 Sep 2019 10:48:05 +0200 Subject: [PATCH] available only if c++11 is available --- BGL/include/CGAL/boost/graph/Named_function_parameters.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BGL/include/CGAL/boost/graph/Named_function_parameters.h b/BGL/include/CGAL/boost/graph/Named_function_parameters.h index 918b1d14583..b21dfe1444d 100644 --- a/BGL/include/CGAL/boost/graph/Named_function_parameters.h +++ b/BGL/include/CGAL/boost/graph/Named_function_parameters.h @@ -231,6 +231,7 @@ bool is_default_parameter(const T&) } //namespace CGAL +#ifndef CGAL_CFG_NO_CPP0X_DEFAULT_TEMPLATE_ARGUMENTS_FOR_FUNCTION_TEMPLATES // code added to avoid silent runtime issues in non-updated code namespace boost { @@ -240,5 +241,6 @@ namespace boost CGAL_static_assertion(B && "You must use CGAL::parameters::get_parameter instead of boost::get_param"); } } +#endif #endif // CGAL_BOOST_GRAPH_NAMED_FUNCTION_PARAMS_HPP