mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-18 02:09:18 +02:00
refactor(sonar): take read-only string parameters as std::string_view (cpp:S6009)
The Windows messaging helpers keep std::string, they need c_str(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -67,7 +67,7 @@ basic_controller::output( element_handle const Element ) const -> int {
|
||||
}
|
||||
|
||||
auto
|
||||
basic_controller::load( std::string const &Filename ) -> bool {
|
||||
basic_controller::load( std::string_view Filename) -> bool {
|
||||
|
||||
m_program.clear();
|
||||
m_updateaccumulator = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user