mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-31 04:12:20 +01:00
refactor(sonar): pass expensive-to-copy parameters by const reference (cpp:S1238)
Signatures declared in files touched by PR 206 (Driver.h, EU07.cpp) and virtual overrides are left unchanged.
This commit is contained in:
@@ -98,7 +98,7 @@ namespace network
|
||||
public:
|
||||
void update();
|
||||
std::tuple<double, double, command_queue::commands_map> get_next_delta(int counter);
|
||||
void send_commands(command_queue::commands_map commands) const;
|
||||
void send_commands(command_queue::commands_map const &commands) const;
|
||||
int get_frame_counter() const {
|
||||
return static_cast<int>(resume_frame_counter);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user