Commit 7ab98967 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

find_similar(): pass string reference.

parent 696713bf
......@@ -153,7 +153,7 @@ module_map_contains(std::string moduleName)
* with a max lenght of 75 characters
*/
static std::string
find_similar(std::string operatorName)
find_similar(const std::string &operatorName)
{
std::string found_similar_operators = "";
unsigned long lines = 1;
......@@ -161,7 +161,7 @@ find_similar(std::string operatorName)
if (operatorName != "")
{
// Searching for simlar operator names in operator to module map
// Searching for similar operator names in operator to module map
for (const auto &str : modules_map)
{
if (similar(stringToLower(operatorName), str.first))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment