mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Pass arguments by reference
This commit is contained in:
@@ -1170,7 +1170,7 @@ void UDPPeer::RunCommandQueues(
|
||||
channels[i].queued_commands.push_front(c);
|
||||
}
|
||||
}
|
||||
catch (ItemNotFoundException e) {
|
||||
catch (ItemNotFoundException &e) {
|
||||
// intentionally empty
|
||||
}
|
||||
}
|
||||
@@ -2067,7 +2067,7 @@ void ConnectionReceiveThread::receive()
|
||||
m_connection->putEvent(e);
|
||||
}
|
||||
}
|
||||
catch(ProcessedSilentlyException e) {
|
||||
catch(ProcessedSilentlyException &e) {
|
||||
/* try reading again */
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user