From eb15a52fd58613f4494acb6feae533156d3d6c7c Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 7 Jun 2019 20:20:09 -0400 Subject: [PATCH] UICommon/ResourcePack/Manager: Make GetPackConfig() internally linked Silences a -Wmissing-declarations warning. --- Source/Core/UICommon/ResourcePack/Manager.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 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 -namespace -{ -std::vector packs; - -std::string packs_path; -} // namespace - namespace ResourcePack { +namespace +{ +std::vector packs; +std::string packs_path; + IniFile GetPackConfig() { packs_path = File::GetUserPath(D_RESOURCEPACK_IDX) + "/Packs.ini"; @@ -29,6 +27,7 @@ IniFile GetPackConfig() return file; } +} // Anonymous namespace bool Init() {