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 | |
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')
-rw-r--r-- | engines/sword25/gfx/animationtemplateregistry.cpp | 2 | ||||
-rw-r--r-- | engines/sword25/gfx/renderobjectregistry.cpp | 2 | ||||
-rw-r--r-- | engines/sword25/math/regionregistry.cpp | 2 |
3 files changed, 3 insertions, 3 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 { diff --git a/engines/sword25/math/regionregistry.cpp b/engines/sword25/math/regionregistry.cpp index 40909aebad..c1fd6e98a8 100644 --- a/engines/sword25/math/regionregistry.cpp +++ b/engines/sword25/math/regionregistry.cpp @@ -39,7 +39,7 @@ #include "sword25/math/regionregistry.h" #include "sword25/math/region.h" -DECLARE_SINGLETON(Sword25::RegionRegistry) +DECLARE_SINGLETON(Sword25::RegionRegistry); namespace Sword25 { |