mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-06 16:18:35 +01:00
refactor(sonar): drop top-level const from by-value return types (cpp:S5951)
This commit is contained in:
@@ -1240,7 +1240,7 @@ struct TCoupling
|
||||
{
|
||||
return adapter_type != TCouplerType::NoCoupler;
|
||||
}
|
||||
inline TCouplerType const type() const
|
||||
inline TCouplerType type() const
|
||||
{
|
||||
return adapter_type == TCouplerType::NoCoupler ? CouplerType : adapter_type;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user