assert.hpp 610 B

12345678910111213141516171819
  1. // Boost.Geometry Index
  2. //
  3. // Copyright (c) 2011-2015 Adam Wulkiewicz, Lodz, Poland.
  4. //
  5. // Use, modification and distribution is subject to the Boost Software License,
  6. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  7. // http://www.boost.org/LICENSE_1_0.txt)
  8. #ifndef BOOST_GEOMETRY_INDEX_DETAIL_ASSERT_HPP
  9. #define BOOST_GEOMETRY_INDEX_DETAIL_ASSERT_HPP
  10. #include <boost/geometry/core/assert.hpp>
  11. #undef BOOST_GEOMETRY_INDEX_ASSERT
  12. #define BOOST_GEOMETRY_INDEX_ASSERT(CONDITION, TEXT_MSG) \
  13. BOOST_GEOMETRY_ASSERT_MSG(CONDITION, TEXT_MSG)
  14. #endif // BOOST_GEOMETRY_INDEX_DETAIL_ASSERT_HPP