mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-07 19:14:46 +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:
@@ -71,7 +71,7 @@ public:
|
||||
std::string
|
||||
find( TSubModel const *Control ) const;
|
||||
bool
|
||||
contains( std::string const Control ) const;
|
||||
contains( std::string const &Control ) const;
|
||||
};
|
||||
|
||||
class TTrain {
|
||||
|
||||
Reference in New Issue
Block a user