Remove unused global LootHandler variable.

This commit is contained in:
Oliver Hamlet
2015-06-10 16:22:27 +01:00
parent 5e801abe8a
commit c05969e7be
2 changed files with 1 additions and 20 deletions
+1 -16
View File
@@ -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
//------------------
-4
View File
@@ -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
//------------------