refactor: DisplayInvalidExecption pass const ref to string
This commit is contained in:
parent
9f72b44d2a
commit
c7873f2f81
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ public:
|
|||
// do nothing
|
||||
}
|
||||
|
||||
explicit DisplayInvalidException(std::string msg) : std::runtime_error(msg)
|
||||
explicit DisplayInvalidException(const std::string &msg) : std::runtime_error(msg)
|
||||
{
|
||||
// do nothing
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue