From abe1959d36816b6c0703c1c3802764818585d0b6 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 16 Nov 2010 08:23:13 +0000 Subject: COMMON: Simplify DECLARE_SINGLETON macro This makes it possible to write DECLARE_SINGLETON(foo); instead of DECLARE_SINGLETON(foo) without causing a warning about an extra semicolon. The extra semicolon helps some editors at parsing the C++ code. svn-id: r54258 --- engines/sword25/gfx/animationtemplateregistry.cpp | 2 +- engines/sword25/gfx/renderobjectregistry.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sword25/gfx') diff --git a/engines/sword25/gfx/animationtemplateregistry.cpp b/engines/sword25/gfx/animationtemplateregistry.cpp index ac1d6096f4..2245090f8f 100644 --- a/engines/sword25/gfx/animationtemplateregistry.cpp +++ b/engines/sword25/gfx/animationtemplateregistry.cpp @@ -39,7 +39,7 @@ #include "sword25/gfx/animationtemplateregistry.h" #include "sword25/gfx/animationtemplate.h" -DECLARE_SINGLETON(Sword25::AnimationTemplateRegistry) +DECLARE_SINGLETON(Sword25::AnimationTemplateRegistry); namespace Sword25 { diff --git a/engines/sword25/gfx/renderobjectregistry.cpp b/engines/sword25/gfx/renderobjectregistry.cpp index c52e2f1a45..8f55cf65a9 100644 --- a/engines/sword25/gfx/renderobjectregistry.cpp +++ b/engines/sword25/gfx/renderobjectregistry.cpp @@ -34,7 +34,7 @@ #include "sword25/gfx/renderobjectregistry.h" -DECLARE_SINGLETON(Sword25::RenderObjectRegistry) +DECLARE_SINGLETON(Sword25::RenderObjectRegistry); namespace Sword25 { -- cgit v1.2.3