17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-18 18:29:40 +02:00

refactor(sonar): drop top-level const from by-value return types (cpp:S5951)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jerrrrycho
2026-10-10 16:29:47 +02:00
parent 85640589aa
commit 319815cb0b
7 changed files with 10 additions and 10 deletions

View File

@@ -110,7 +110,7 @@ private:
return Value == 0 ? 1 : 0; }
// element access
inline
auto element( element_handle const Element ) const -> basic_element const {
auto element( element_handle const Element ) const -> basic_element {
return m_elements[ Element - 1 ]; }
inline
auto element( element_handle const Element ) -> basic_element & {