From 24149e9e343dd5e507d2b4e879df55c692fbf9d1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 7 Jun 2017 21:47:14 +0300 Subject: Remove static in anonimouse namespaces. --- src/resources/db/statdb.cpp | 6 +++--- src/resources/resourcemanager/resourcemanager_unittest.cc | 2 +- src/resources/sdlgfxblitfunc.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/resources') 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 mBasicStats; - static std::map > mStats; - static std::vector mPages; + std::vector mBasicStats; + std::map > mStats; + std::vector 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 */ -- cgit v1.2.3-60-g2f50