feat: refactor OverteClient constructor and destructor for clarity and consistency

This commit is contained in:
MayaTheShy
2025-11-09 02:16:57 -05:00
parent 5047016225
commit 2e70529a1f

View File

@@ -64,9 +64,8 @@ struct AssignmentClient {
// optionally enabled via STARWORLD_SIMULATE=1.
class OverteClient {
public:
explicit OverteClient(std::string domainUrl)
: m_domainUrl(std::move(domainUrl)) {}
~OverteClient(); // Required for unique_ptr with forward-declared type
explicit OverteClient(std::string domainUrl);
~OverteClient();
// Authentication
bool login(const std::string& username, const std::string& password,