refactor: DisplayInvalidExecption pass const ref to string

This commit is contained in:
sithlord48 2025-07-11 13:31:17 -04:00 committed by Nick Bolton
parent 9f72b44d2a
commit c7873f2f81

View file

@ -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
}