Skip to content

Commit

Permalink
[cppcheck] Use reference for string parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
dscharrer committed Apr 8, 2017
1 parent 80600b3 commit a6b5bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/ScriptedLang.cpp
Expand Up @@ -115,7 +115,7 @@ class AbortCommand : public Command {

public:

AbortCommand(std::string command, Result _result) : Command(command), result(_result) { }
AbortCommand(const std::string & command, Result _result) : Command(command), result(_result) { }

Result execute(Context & context) {

Expand Down

0 comments on commit a6b5bff

Please sign in to comment.