aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx
diff options
context:
space:
mode:
authorMax Horn2010-11-16 08:23:13 +0000
committerMax Horn2010-11-16 08:23:13 +0000
commitabe1959d36816b6c0703c1c3802764818585d0b6 (patch)
tree01fd7fe8a0f5bbad700d052c78f954862a11dc5f /engines/sword25/gfx
parent5af8a76b489c315f4389f888489030bdcff52ae3 (diff)
downloadscummvm-rg350-abe1959d36816b6c0703c1c3802764818585d0b6.tar.gz
scummvm-rg350-abe1959d36816b6c0703c1c3802764818585d0b6.tar.bz2
scummvm-rg350-abe1959d36816b6c0703c1c3802764818585d0b6.zip
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
Diffstat (limited to 'engines/sword25/gfx')
-rw-r--r--engines/sword25/gfx/animationtemplateregistry.cpp2
-rw-r--r--engines/sword25/gfx/renderobjectregistry.cpp2
2 files changed, 2 insertions, 2 deletions
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 {