diff --git a/include/boost/geometry/algorithms/detail/turns/debug_turn.hpp b/include/boost/geometry/algorithms/detail/turns/debug_turn.hpp index d34aa04db..910324c5e 100644 --- a/include/boost/geometry/algorithms/detail/turns/debug_turn.hpp +++ b/include/boost/geometry/algorithms/detail/turns/debug_turn.hpp @@ -10,11 +10,14 @@ #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_TURNS_DEBUG_TURN_HPP #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_TURNS_DEBUG_TURN_HPP +#ifdef BOOST_GEOMETRY_DEBUG_TURNS #include #include #include #include +#endif // BOOST_GEOMETRY_DEBUG_TURNS + namespace boost { namespace geometry { @@ -24,8 +27,8 @@ namespace detail { namespace turns { -template #ifdef BOOST_GEOMETRY_DEBUG_TURNS +template inline void debug_turn(Turn const& turn, Operation op, std::string const& header) { @@ -44,6 +47,7 @@ inline void debug_turn(Turn const& turn, Operation op, } } #else +template inline void debug_turn(Turn const& , Operation, const char*) { }