clang-tidy: run through performance checks
Found with performance* Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Luis Díaz Más
parent
b8712188bb
commit
f9d394adf0
+1
-1
@@ -119,7 +119,7 @@ namespace Exiv2 {
|
||||
return b;
|
||||
}
|
||||
|
||||
static bool matchi(const std::string key,const char* substr)
|
||||
static bool matchi(const std::string& key, const char* substr)
|
||||
{
|
||||
return toLowerCase(key).find(substr) != std::string::npos;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user