Fix PopEvent API signature

This commit is contained in:
Damian Korczowski
2021-03-11 20:30:03 +01:00
parent 87754f12ff
commit 00d5a40443
2 changed files with 3 additions and 3 deletions

View File

@@ -93,10 +93,10 @@ void NetworkManager::Disconnect(const NetworkConnection& connection)
NetworkDriver->Disconnect(connection);
}
bool NetworkManager::PopEvent(NetworkEvent* eventPtr)
bool NetworkManager::PopEvent(NetworkEvent& eventPtr)
{
ASSERT(NetworkDriver != nullptr);
return NetworkDriver->PopEvent(eventPtr);
return NetworkDriver->PopEvent(&eventPtr);
}
NetworkMessage NetworkManager::CreateMessage()