mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Remove unused global LootHandler variable.
This commit is contained in:
@@ -56,22 +56,7 @@ namespace fs = boost::filesystem;
|
||||
namespace loc = boost::locale;
|
||||
|
||||
namespace loot {
|
||||
namespace {
|
||||
LootHandler * g_instance = NULL;
|
||||
}
|
||||
|
||||
LootHandler::LootHandler() : is_closing_(false) {
|
||||
assert(!g_instance);
|
||||
g_instance = this;
|
||||
}
|
||||
|
||||
LootHandler::~LootHandler() {
|
||||
g_instance = NULL;
|
||||
}
|
||||
|
||||
LootHandler* LootHandler::GetInstance() {
|
||||
return g_instance;
|
||||
}
|
||||
LootHandler::LootHandler() : is_closing_(false) {}
|
||||
|
||||
// CefClient methods
|
||||
//------------------
|
||||
|
||||
@@ -38,10 +38,6 @@ namespace loot {
|
||||
public CefRequestHandler {
|
||||
public:
|
||||
LootHandler();
|
||||
~LootHandler();
|
||||
|
||||
// Provide access to the single global instance of this object.
|
||||
static LootHandler * GetInstance();
|
||||
|
||||
// CefClient methods
|
||||
//------------------
|
||||
|
||||
Reference in New Issue
Block a user