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
@@ -19,7 +19,7 @@ public:
int status() const { return m_status; }
private:
Shell(std::string output, int status);
Shell(const std::string& output, int status);
std::string m_output;
int m_status { 0 };