diff --git a/openscenario/openscenario_interpreter/src/reader/attribute.cpp b/openscenario/openscenario_interpreter/src/reader/attribute.cpp index c04707b7fbc..90b91e4b4b4 100644 --- a/openscenario/openscenario_interpreter/src/reader/attribute.cpp +++ b/openscenario/openscenario_interpreter/src/reader/attribute.cpp @@ -20,7 +20,7 @@ namespace openscenario_interpreter { inline namespace reader { -auto substitute(std::string attribute, const Scope & scope) -> String +auto substitute(const std::string & attribute, const Scope & scope) -> String { auto dirname = [](auto &&, auto && scope) { return scope.dirname(); };