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. --- engines/sword25/gfx/animationtemplateregistry.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/sword25/gfx') diff --git a/engines/sword25/gfx/animationtemplateregistry.cpp b/engines/sword25/gfx/animationtemplateregistry.cpp index 875483d66f..4783a314f4 100644 --- a/engines/sword25/gfx/animationtemplateregistry.cpp +++ b/engines/sword25/gfx/animationtemplateregistry.cpp @@ -34,6 +34,10 @@ #include "sword25/gfx/animationtemplateregistry.h" #include "sword25/gfx/animationtemplate.h" +namespace Common { +DECLARE_SINGLETON(Sword25::AnimationTemplateRegistry); +} + namespace Sword25 { bool AnimationTemplateRegistry::persist(OutputPersistenceBlock &writer) { -- cgit v1.2.3