Merge pull request #6653 from lioncash/redundant

Common/Config: Remove redundant declaration and unused includes
This commit is contained in:
Léo Lam 2018-04-16 10:37:39 +02:00 committed by GitHub
commit 1cd75f9b19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,9 +5,7 @@
#include <algorithm> #include <algorithm>
#include <list> #include <list>
#include <map> #include <map>
#include <tuple>
#include "Common/Assert.h"
#include "Common/Config/Config.h" #include "Common/Config/Config.h"
namespace Config namespace Config
@ -15,8 +13,6 @@ namespace Config
static Layers s_layers; static Layers s_layers;
static std::list<ConfigChangedCallback> s_callbacks; static std::list<ConfigChangedCallback> s_callbacks;
void InvokeConfigChangedCallbacks();
Layers* GetLayers() Layers* GetLayers()
{ {
return &s_layers; return &s_layers;