From 15d3099cf53605857d2d9be1b1ea07057a5a624a Mon Sep 17 00:00:00 2001 From: Aotrix <9aotrix@protonmail.com> Date: Mon, 3 Nov 2025 22:47:14 +0100 Subject: fixed segfault issue - wrong order for attribute initialization... --- subprojects/battleNetApi/include/token.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subprojects/battleNetApi/include') 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; -- cgit v1.2.3