summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-15 23:46:23 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-15 23:46:23 +0300
commite5a14c0a1c74b66246f7c54e56c7cc2c33fef29d (patch)
tree3d20b119d2c2c1a92b8867eda5488e1b5e35d33e /src/gui/widgets
parent17e14e2d369e08d7300870fa592c5eac6e5e27ec (diff)
downloadmanaplus-e5a14c0a1c74b66246f7c54e56c7cc2c33fef29d.tar.gz
manaplus-e5a14c0a1c74b66246f7c54e56c7cc2c33fef29d.tar.bz2
manaplus-e5a14c0a1c74b66246f7c54e56c7cc2c33fef29d.tar.xz
manaplus-e5a14c0a1c74b66246f7c54e56c7cc2c33fef29d.zip
Add anonymous namespace in tab.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/tabs/tab.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/gui/widgets/tabs/tab.cpp b/src/gui/widgets/tabs/tab.cpp
index dc063bb45..c88a47033 100644
--- a/src/gui/widgets/tabs/tab.cpp
+++ b/src/gui/widgets/tabs/tab.cpp
@@ -83,13 +83,16 @@
int Tab::mInstances = 0;
float Tab::mAlpha = 1.0;
-static std::string const data[Tab::TAB_COUNT] =
+namespace
{
- "tab.xml",
- "tab_highlighted.xml",
- "tab_selected.xml",
- "tab_unused.xml"
-};
+ static std::string const data[Tab::TAB_COUNT] =
+ {
+ "tab.xml",
+ "tab_highlighted.xml",
+ "tab_selected.xml",
+ "tab_unused.xml"
+ };
+} // namespace
Skin *Tab::tabImg[Tab::TAB_COUNT];