diff --git a/src/shared/ProgressBar.cpp b/src/shared/ProgressBar.cpp index 8ac6c26c7..cd28c3dfd 100644 --- a/src/shared/ProgressBar.cpp +++ b/src/shared/ProgressBar.cpp @@ -92,3 +92,9 @@ void barGoLink::step() rec_pos = n; } } + +// avoid use inline version because linking problems with private static field +void barGoLink::SetOutputState(bool on) +{ + m_showOutput = on; +} \ No newline at end of file diff --git a/src/shared/ProgressBar.h b/src/shared/ProgressBar.h index eb3768d87..195b0b0ba 100644 --- a/src/shared/ProgressBar.h +++ b/src/shared/ProgressBar.h @@ -29,7 +29,7 @@ class MANGOS_DLL_SPEC barGoLink public: // modifiers void step( void ); - static void SetOutputState(bool on) { m_showOutput = on; } + static void SetOutputState(bool on); private: static bool m_showOutput; // not recommended change with existed active bar static char const * const empty; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 5cbfed2db..c578f9ee1 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10985" + #define REVISION_NR "10986" #endif // __REVISION_NR_H__