mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Pass arguments by reference
This commit is contained in:
parent
2bc2ce3bd1
commit
7cac34c807
14 changed files with 49 additions and 49 deletions
|
@ -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 */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue