From 2e70529a1f89932039951cbe0b94411faa9a502d Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Sun, 9 Nov 2025 02:16:57 -0500 Subject: [PATCH] feat: refactor OverteClient constructor and destructor for clarity and consistency --- src/OverteClient.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/OverteClient.hpp b/src/OverteClient.hpp index 59def3a..3498ebe 100644 --- a/src/OverteClient.hpp +++ b/src/OverteClient.hpp @@ -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,