summaryrefslogtreecommitdiff
path: root/subprojects/battleNetApi/include
diff options
context:
space:
mode:
authorAotrix <[email protected]>2025-11-03 22:47:14 +0100
committerAotrix <[email protected]>2025-11-03 22:47:14 +0100
commit15d3099cf53605857d2d9be1b1ea07057a5a624a (patch)
tree7287b44b403bba8711ae07d061e0dafd6fcc25d9 /subprojects/battleNetApi/include
parent5fef66994abbc501025328582c02708bddccea77 (diff)
fixed segfault issue - wrong order for attribute initialization...
Diffstat (limited to 'subprojects/battleNetApi/include')
-rw-r--r--subprojects/battleNetApi/include/token.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/battleNetApi/include/token.hpp b/subprojects/battleNetApi/include/token.hpp
index e1544e8..fc5e19a 100644
--- a/subprojects/battleNetApi/include/token.hpp
+++ b/subprojects/battleNetApi/include/token.hpp
@@ -8,9 +8,9 @@ class Token {
private:
const std::string mFilePath; //!< Path to the token file
- const std::string mToken; //!< Token value
const std::string mUsername; //!< Username for Battle.net API
const std::string mPassword; //!< Password for Battle.net API
+ const std::string mToken; //!< Token value
std::string getValidToken() const;
void refreshToken() const;