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.
This commit is contained in:
Thierry Crozat 2017-07-03 18:59:12 +01:00 committed by Eugene Sandulenko
parent 1141bfc1a6
commit eefa72afa1
36 changed files with 1 additions and 138 deletions

View file

@ -25,10 +25,6 @@
#ifdef ENABLE_EVENTRECORDER
namespace Common {
DECLARE_SINGLETON(GUI::EventRecorder);
}
#include "common/debug-channels.h"
#include "backends/timer/sdl/sdl-timer.h"
#include "backends/mixer/sdl/sdl-mixer.h"