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:
+1
-1
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user