diff options
author | Thierry Crozat | 2017-07-03 18:59:12 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-10 21:11:20 +0200 |
commit | eefa72afa1978a9dea10f5b1833fcc8f58a3468e (patch) | |
tree | 97ef0c982cad7cc54cf93c0f6a6cec3d072b1a69 /backends/networking | |
parent | 1141bfc1a603decce8f02a85a1fc76073a646d1a (diff) | |
download | scummvm-rg350-eefa72afa1978a9dea10f5b1833fcc8f58a3468e.tar.gz scummvm-rg350-eefa72afa1978a9dea10f5b1833fcc8f58a3468e.tar.bz2 scummvm-rg350-eefa72afa1978a9dea10f5b1833fcc8f58a3468e.zip |
COMMON: Change way the Singleton instances are instantiated
This fixes tons of warnings with clang from a recent xcode version on
macOS (and possibly other systems) complaining that an instantiation
of _singleton is required but no definition is available.
Diffstat (limited to 'backends/networking')
-rw-r--r-- | backends/networking/curl/connectionmanager.cpp | 6 | ||||
-rw-r--r-- | backends/networking/sdl_net/localwebserver.cpp | 3 |
2 files changed, 0 insertions, 9 deletions
diff --git a/backends/networking/curl/connectionmanager.cpp b/backends/networking/curl/connectionmanager.cpp index d8662ab78d..dee4ece742 100644 --- a/backends/networking/curl/connectionmanager.cpp +++ b/backends/networking/curl/connectionmanager.cpp @@ -29,12 +29,6 @@ #include "common/timer.h" #include <curl/curl.h> -namespace Common { - -DECLARE_SINGLETON(Networking::ConnectionManager); - -} - namespace Networking { ConnectionManager::ConnectionManager(): _multi(0), _timerStarted(false), _frame(0) { diff --git a/backends/networking/sdl_net/localwebserver.cpp b/backends/networking/sdl_net/localwebserver.cpp index 836b90a244..558bffec26 100644 --- a/backends/networking/sdl_net/localwebserver.cpp +++ b/backends/networking/sdl_net/localwebserver.cpp @@ -51,9 +51,6 @@ namespace Common { class MemoryReadWriteStream; - -DECLARE_SINGLETON(Networking::LocalWebserver); - } namespace Networking { |