From e5a14c0a1c74b66246f7c54e56c7cc2c33fef29d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 15 May 2014 23:46:23 +0300 Subject: Add anonymous namespace in tab. --- src/gui/widgets/tabs/tab.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src') 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]; -- cgit v1.2.3-70-g09d2