summaryrefslogtreecommitdiff
path: root/battleNetApi/include/tokenPool.hpp
diff options
context:
space:
mode:
authorAotrix <[email protected]>2026-04-06 00:59:04 +0200
committerAotrix <[email protected]>2026-04-06 00:59:04 +0200
commit27459497a5ba0eac18a57e0c15b21972ab7e5284 (patch)
tree7ff1c3d2769a866af90cfdb357e74db025e9329f /battleNetApi/include/tokenPool.hpp
parent7b2f4cb4389d9d33cfabcbea20de43e6ea8654eb (diff)
Update main.cpp
Diffstat (limited to 'battleNetApi/include/tokenPool.hpp')
-rw-r--r--battleNetApi/include/tokenPool.hpp5
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);