Util: Pass string by const reference

This commit is contained in:
Riyyi
2021-09-19 11:46:19 +02:00
parent 6293e2aaf7
commit 12dd000f0b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ Shell::Shell()
{
}
Shell::Shell(std::string output, int status)
Shell::Shell(const std::string& output, int status)
: m_output(output)
, m_status(status)
{