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. --- backends/networking/curl/connectionmanager.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'backends/networking/curl') diff --git a/backends/networking/curl/connectionmanager.cpp b/backends/networking/curl/connectionmanager.cpp index dee4ece742..d8662ab78d 100644 --- a/backends/networking/curl/connectionmanager.cpp +++ b/backends/networking/curl/connectionmanager.cpp @@ -29,6 +29,12 @@ #include "common/timer.h" #include +namespace Common { + +DECLARE_SINGLETON(Networking::ConnectionManager); + +} + namespace Networking { ConnectionManager::ConnectionManager(): _multi(0), _timerStarted(false), _frame(0) { -- cgit v1.2.3