mirror of https://github.com/CGAL/cgal
Always include <boost/static_assert.hpp>
If C++11 `static_assert` cannot be used, `BOOST_STATIC_ASSERT` is used instead *even with `CGAL_NO_ASSERTIONS`*.
This commit is contained in:
parent
e2d04e54e0
commit
8fe3f26c6f
|
|
@ -52,11 +52,9 @@
|
||||||
# define CGAL_NO_WARNINGS
|
# define CGAL_NO_WARNINGS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CGAL_NO_ASSERTIONS
|
|
||||||
#ifdef CGAL_CFG_NO_CPP0X_STATIC_ASSERT
|
#ifdef CGAL_CFG_NO_CPP0X_STATIC_ASSERT
|
||||||
#include <boost/static_assert.hpp>
|
#include <boost/static_assert.hpp>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace CGAL {
|
namespace CGAL {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue