Skip to content

Commit

Permalink
Change call by value to call by reference
Browse files Browse the repository at this point in the history
Co-authored-by: Tatsuya Yamasaki <httperror@404-notfound.jp>
  • Loading branch information
shouth and yamacir-kit authored Mar 6, 2025
1 parent a2a20c0 commit dfc93ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(); };

Expand Down

0 comments on commit dfc93ae

Please sign in to comment.