Resolve most compiler warnings (#1053)

This commit is contained in:
David Markowitz
2023-04-12 09:48:20 -07:00
committed by GitHub
parent ce51438bc8
commit 4734996c7c
8 changed files with 23 additions and 10 deletions

View File

@@ -2570,7 +2570,7 @@ void GameMessages::HandleBBBSaveRequest(RakNet::BitStream* inStream, Entity* ent
//We runs this in async because the http library here is blocking, meaning it'll halt the thread.
//But we don't want the server to go unresponsive, because then the client would disconnect.
std::async(std::launch::async, [&]() {
auto returnVal = std::async(std::launch::async, [&]() {
//We need to get a new ID for our model first:
ObjectIDManager::Instance()->RequestPersistentID([=](uint32_t newID) {