diff options
Diffstat (limited to 'battleNetApi/include')
| -rw-r--r-- | battleNetApi/include/tokenPool.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/battleNetApi/include/tokenPool.hpp b/battleNetApi/include/tokenPool.hpp index 9bc876b..6f5dffc 100644 --- a/battleNetApi/include/tokenPool.hpp +++ b/battleNetApi/include/tokenPool.hpp @@ -3,14 +3,15 @@ #include <queue> #include <token.hpp> +static std::queue<Token> mTokenContainer; + class TokenPool { private: - TokenPool() = default; + TokenPool() = delete; TokenPool(const TokenPool &) = delete; TokenPool(TokenPool &&) = delete; TokenPool &operator=(const TokenPool &) = delete; TokenPool &operator=(TokenPool &&) = delete; - static std::queue<Token> mTokenContainer; public: static void fillTokenSource(const std::string &iJsonPath); |
