diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-07 21:47:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-07 21:47:14 +0300 |
commit | 24149e9e343dd5e507d2b4e879df55c692fbf9d1 (patch) | |
tree | 9caa75a85a3676acc02636c38f7d3e494bd10a4a /src/resources | |
parent | 28f62ac9504bc5e912cd94c302295d4dcc47e41c (diff) | |
download | mv-24149e9e343dd5e507d2b4e879df55c692fbf9d1.tar.gz mv-24149e9e343dd5e507d2b4e879df55c692fbf9d1.tar.bz2 mv-24149e9e343dd5e507d2b4e879df55c692fbf9d1.tar.xz mv-24149e9e343dd5e507d2b4e879df55c692fbf9d1.zip |
Remove static in anonimouse namespaces.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/db/statdb.cpp | 6 | ||||
-rw-r--r-- | src/resources/resourcemanager/resourcemanager_unittest.cc | 2 | ||||
-rw-r--r-- | src/resources/sdlgfxblitfunc.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/resources/db/statdb.cpp b/src/resources/db/statdb.cpp index 7911009a3..26734bdb3 100644 --- a/src/resources/db/statdb.cpp +++ b/src/resources/db/statdb.cpp @@ -35,9 +35,9 @@ namespace { bool mLoaded = false; - static std::vector<BasicStat> mBasicStats; - static std::map<std::string, std::vector<BasicStat> > mStats; - static std::vector<std::string> mPages; + std::vector<BasicStat> mBasicStats; + std::map<std::string, std::vector<BasicStat> > mStats; + std::vector<std::string> mPages; } // namespace void StatDb::addDefaultStats() diff --git a/src/resources/resourcemanager/resourcemanager_unittest.cc b/src/resources/resourcemanager/resourcemanager_unittest.cc index 801c8ae0d..231d5cfc0 100644 --- a/src/resources/resourcemanager/resourcemanager_unittest.cc +++ b/src/resources/resourcemanager/resourcemanager_unittest.cc @@ -48,7 +48,7 @@ namespace { - static int testResouceCounter = 0; + int testResouceCounter = 0; class TestResource : public Resource { diff --git a/src/resources/sdlgfxblitfunc.cpp b/src/resources/sdlgfxblitfunc.cpp index f419893a6..89fe0b21e 100644 --- a/src/resources/sdlgfxblitfunc.cpp +++ b/src/resources/sdlgfxblitfunc.cpp @@ -68,7 +68,7 @@ namespace SDL_PixelFormat *dst; }; - static unsigned int GFX_ALPHA_ADJUST_ARRAY[256] = + unsigned int GFX_ALPHA_ADJUST_ARRAY[256] = { 0, /* 0 */ 15, /* 1 */ |