feat: implement destructor for OverteClient to support unique_ptr with forward-declared type
This commit is contained in:
@@ -121,6 +121,10 @@ static std::string generateUUID() {
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
OverteClient::~OverteClient() {
|
||||
// Destructor implementation (required for unique_ptr with forward-declared type)
|
||||
}
|
||||
|
||||
bool OverteClient::login(const std::string& username, const std::string& password, const std::string& metaverseUrl) {
|
||||
if (!m_auth) {
|
||||
m_auth = std::make_unique<OverteAuth>();
|
||||
|
||||
@@ -66,6 +66,7 @@ class OverteClient {
|
||||
public:
|
||||
explicit OverteClient(std::string domainUrl)
|
||||
: m_domainUrl(std::move(domainUrl)) {}
|
||||
~OverteClient(); // Required for unique_ptr with forward-declared type
|
||||
|
||||
// Authentication
|
||||
bool login(const std::string& username, const std::string& password,
|
||||
|
||||
Reference in New Issue
Block a user