mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-28 22:47:28 +01: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:
@@ -60,7 +60,7 @@ class basic_controller {
|
||||
|
||||
public:
|
||||
// methods
|
||||
auto load( std::string const &Filename ) -> bool;
|
||||
auto load( std::string_view Filename) -> bool;
|
||||
auto update( double const Timestep ) -> int;
|
||||
// finds element with specified name, potentially creating new element of specified type initialized with provided arguments. returns: handle to the element
|
||||
template<typename ...Args_>
|
||||
|
||||
Reference in New Issue
Block a user