diff --git a/Kinetic_data_structures/include/CGAL/Tools/Log.h b/Kinetic_data_structures/include/CGAL/Tools/Log.h index c8100c3b62f..8d2a155da6b 100644 --- a/Kinetic_data_structures/include/CGAL/Tools/Log.h +++ b/Kinetic_data_structures/include/CGAL/Tools/Log.h @@ -67,7 +67,7 @@ private: #ifdef CGAL_HEADER_ONLY - inline static State& get_static_state() + static State& get_static_state() { static State state_; return state_; @@ -76,7 +76,7 @@ private: #else // CGAL_HEADER_ONLY CGAL_EXPORT static State state_; - inline static State& get_static_state() + static State& get_static_state() { return state_; } diff --git a/Profiling_tools/include/CGAL/Real_timer.h b/Profiling_tools/include/CGAL/Real_timer.h index 06f96b6ac02..4c621cd9114 100644 --- a/Profiling_tools/include/CGAL/Real_timer.h +++ b/Profiling_tools/include/CGAL/Real_timer.h @@ -51,7 +51,7 @@ private: bool running; #ifdef CGAL_HEADER_ONLY - inline bool& get_static_realtimer_m_failed() + static bool& get_static_realtimer_m_failed() { static bool m_failed = false; return m_failed;