summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sdext/source/presenter/PresenterTimer.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sdext/source/presenter/PresenterTimer.cxx b/sdext/source/presenter/PresenterTimer.cxx
index eb85119c6bc6..3bd1f9ab9977 100644
--- a/sdext/source/presenter/PresenterTimer.cxx
+++ b/sdext/source/presenter/PresenterTimer.cxx
@@ -96,7 +96,9 @@ public:
const TimeValue& rTimeValue);
static void NotifyTermination();
+#if !defined NDEBUG
static bool HasInstance() { return mpInstance != nullptr; }
+#endif
private:
static std::shared_ptr<TimerScheduler> mpInstance;