Make runnable again (#40)

* Compile before push DansGame

* Initialize them when they are needed, not on startup. This is THREAD-SAFE since C++11

* Changed user to account
This commit is contained in:
Bur0k
2017-04-19 15:25:05 +02:00
committed by fourtf
parent 38062cb3c5
commit b6d0776917
6 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -13,6 +13,7 @@ class AccountManager
public:
static AccountManager &getInstance()
{
static AccountManager instance;
return instance;
}
@@ -23,7 +24,6 @@ public:
void addTwitchUser(const twitch::TwitchUser &user);
private:
static AccountManager instance;
AccountManager();