mirror of
https://github.com/hasherezade/hollows_hunter.git
synced 2026-10-11 21:49:55 +00:00
[REFACT] Pass string argument by a reference
This commit is contained in:
+1
-1
@@ -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
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user