From 27459497a5ba0eac18a57e0c15b21972ab7e5284 Mon Sep 17 00:00:00 2001 From: Aotrix <9aotrix@protonmail.com> Date: Mon, 6 Apr 2026 00:59:04 +0200 Subject: Update main.cpp --- battleNetApi/include/tokenPool.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'battleNetApi/include/tokenPool.hpp') 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 #include +static std::queue 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 mTokenContainer; public: static void fillTokenSource(const std::string &iJsonPath); -- cgit v1.2.3