Skip to content
Permalink
Browse files

UICommon/ResourcePack/Manager: Make GetPackConfig() internally linked

Silences a -Wmissing-declarations warning.
  • Loading branch information...
lioncash committed Jun 8, 2019
1 parent 7842bd1 commit eb15a52fd58613f4494acb6feae533156d3d6c7c
Showing with 4 additions and 5 deletions.
  1. +4 −5 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()
{

0 comments on commit eb15a52

Please sign in to comment.
You can’t perform that action at this time.