summaryrefslogtreecommitdiff
path: root/battleNetApi/src/tokenPool.cpp
diff options
context:
space:
mode:
authorAotrix <[email protected]>2026-04-23 02:48:00 +0200
committerAotrix <[email protected]>2026-04-23 02:48:00 +0200
commit5582e994d39b16a6d61f05b13e78c30f4bac5d84 (patch)
treef1bb074a61fad89d072d007b8a19d3ca9f446d4f /battleNetApi/src/tokenPool.cpp
parentcc436cb44c60ef2485321e1e22b3ea0a59ee22af (diff)
Create TokenBuilder class
Diffstat (limited to 'battleNetApi/src/tokenPool.cpp')
-rw-r--r--battleNetApi/src/tokenPool.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/battleNetApi/src/tokenPool.cpp b/battleNetApi/src/tokenPool.cpp
index 08770e8..b74aae5 100644
--- a/battleNetApi/src/tokenPool.cpp
+++ b/battleNetApi/src/tokenPool.cpp
@@ -9,7 +9,9 @@ std::optional<Token> TokenPool::availableToken() {
return aOutputToken;
}
-void TokenPool::feedTokenSource(const std::string &iJsonPath) { aTokenContainer.emplace(iJsonPath); }
+void TokenPool::feedTokenSource(const std::string &iJsonPath) {
+ aTokenContainer.emplace(iJsonPath);
+}
void TokenPool::feedTokenSource(const std::span<std::string> &iJsonPaths) {
for (const std::string &iJsonPath : iJsonPaths) {