In a class, we should using "static" functions

This commit is contained in:
Clement Jamin 2014-12-16 11:28:16 +01:00
parent f532cbc013
commit ff79502a72
2 changed files with 3 additions and 3 deletions

View File

@ -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_;
}

View File

@ -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;