[REFACT] Pass string argument by a reference

This commit is contained in:
hasherezade
2025-01-24 04:29:56 -08:00
parent 9d0b0b8044
commit 2b291895b1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ void ETWProfile::stripComments(std::string& str)
}
}
bool ETWProfile::fillSettings(std::string line)
bool ETWProfile::fillSettings(const std::string &line)
{
using namespace util;
+1 -1
View File
@@ -54,6 +54,6 @@ public:
protected:
static const char DELIM;
bool fillSettings(std::string line);
bool fillSettings(const std::string& line);
void stripComments(std::string& str);
};