summaryrefslogtreecommitdiff
path: root/src/hearthstoneAPIHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hearthstoneAPIHandler.cpp')
-rw-r--r--src/hearthstoneAPIHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hearthstoneAPIHandler.cpp b/src/hearthstoneAPIHandler.cpp
index 6528ed0..5dd28d4 100644
--- a/src/hearthstoneAPIHandler.cpp
+++ b/src/hearthstoneAPIHandler.cpp
@@ -38,8 +38,8 @@ HearthstoneAPIHandler::extract_string_with_regex(const std::string &t_str,
}
void HearthstoneAPIHandler::write_new_token_info_to_file(
- const std::string &file_path) {
- std::ofstream token_file(file_path);
+ const std::string &t_file_path) {
+ std::ofstream token_file(t_file_path);
CURL *curl = curl_easy_init();
std::string token_info;
if (curl) {