diff options
author | Max Horn | 2010-11-16 08:23:13 +0000 |
---|---|---|
committer | Max Horn | 2010-11-16 08:23:13 +0000 |
commit | abe1959d36816b6c0703c1c3802764818585d0b6 (patch) | |
tree | 01fd7fe8a0f5bbad700d052c78f954862a11dc5f /engines/sword25/gfx | |
parent | 5af8a76b489c315f4389f888489030bdcff52ae3 (diff) | |
download | scummvm-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.cpp | 2 | ||||
-rw-r--r-- | engines/sword25/gfx/renderobjectregistry.cpp | 2 |
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 { |