summaryrefslogtreecommitdiff
path: root/battleNetApi/src/apiUrl.cpp
diff options
context:
space:
mode:
authorAotrix <[email protected]>2026-04-18 22:20:26 +0200
committerAotrix <[email protected]>2026-04-18 22:20:26 +0200
commit8837de4783b25255b6a1799be210c9e580dd2d4f (patch)
tree5073cac386123c6d403714b4a5dcb7cceade7056 /battleNetApi/src/apiUrl.cpp
parent27459497a5ba0eac18a57e0c15b21972ab7e5284 (diff)
Replace operator() with text method
Diffstat (limited to 'battleNetApi/src/apiUrl.cpp')
-rw-r--r--battleNetApi/src/apiUrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/battleNetApi/src/apiUrl.cpp b/battleNetApi/src/apiUrl.cpp
index 5435fd9..ac8171b 100644
--- a/battleNetApi/src/apiUrl.cpp
+++ b/battleNetApi/src/apiUrl.cpp
@@ -41,7 +41,7 @@ void ApiUrl::setPageSize(const std::string &iPageSize) {
void ApiUrl::setValue(const std::string &iKey, const std::string &iValue) { aParameters[iKey] = iValue; }
-std::string ApiUrl::operator()() const {
+std::string ApiUrl::text() const {
std::string aFormattedParameters;
for (const auto &[key, value] : aParameters) {
aFormattedParameters += std::format("&{}={}", key, value);