From 940b2a20f1cd490afb6e541a3cd26f0d3bdd1687 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 10 Jul 2017 21:17:41 +0200 Subject: Revert "COMMON: Change way the Singleton instances are instantiated" This reverts commit eefa72afa1978a9dea10f5b1833fcc8f58a3468e. With this patch ConfigManager is broken. --- common/coroutines.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/coroutines.cpp') diff --git a/common/coroutines.cpp b/common/coroutines.cpp index 54e53ff7d3..248777febd 100644 --- a/common/coroutines.cpp +++ b/common/coroutines.cpp @@ -33,6 +33,8 @@ namespace Common { /** Helper null context instance */ CoroContext nullContext = NULL; +DECLARE_SINGLETON(CoroutineScheduler); + #ifdef COROUTINE_DEBUG namespace { /** Count of active coroutines */ -- cgit v1.2.3