summaryrefslogtreecommitdiff
path: root/Source/Core/UICommon/ResourcePack/Manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/UICommon/ResourcePack/Manager.cpp')
-rw-r--r--Source/Core/UICommon/ResourcePack/Manager.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/Core/UICommon/ResourcePack/Manager.cpp b/Source/Core/UICommon/ResourcePack/Manager.cpp
index 0d2327e56e..1be409f6e6 100644
--- a/Source/Core/UICommon/ResourcePack/Manager.cpp
+++ b/Source/Core/UICommon/ResourcePack/Manager.cpp
@@ -11,15 +11,13 @@
#include <algorithm>
+namespace ResourcePack
+{
namespace
{
-std::vector<ResourcePack::ResourcePack> packs;
-
+std::vector<ResourcePack> packs;
std::string packs_path;
-} // namespace
-namespace ResourcePack
-{
IniFile GetPackConfig()
{
packs_path = File::GetUserPath(D_RESOURCEPACK_IDX) + "/Packs.ini";
@@ -29,6 +27,7 @@ IniFile GetPackConfig()
return file;
}
+} // Anonymous namespace
bool Init()
{