Same make_obj call allocates the correct type

This commit is contained in:
Yousef Khadadeh 2025-12-08 20:51:11 +03:00
parent 5d24b34200
commit d9a90dda16
10 changed files with 53 additions and 17 deletions

View file

@ -18,8 +18,8 @@ class ConnectionManager {
bool client_exists();
std::unordered_map<ServerClientID, NetLibrary::DownloadProgress> server_get_resource_retrieval_progress();
NetLibrary::DownloadProgress client_get_resource_retrieval_progress();
std::unique_ptr<MainServer> localServer;
private:
std::shared_ptr<NetClient> client;
std::unique_ptr<MainServer> localServer;
std::chrono::steady_clock::time_point lastKeepAliveTime;
};