performance: Pass string_view by value

Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
This commit is contained in:
Vysochyn, Illia
2025-09-04 17:06:09 +00:00
committed by Compute-Runtime-Automation
parent 137c3deadf
commit cfd08bf38d
10 changed files with 23 additions and 23 deletions

View File

@@ -853,7 +853,7 @@ class CompilerCacheHelperWhitelistedTest : public ::testing::Test, public Compil
public:
using CompilerCacheHelper::whitelistedIncludes;
bool isValidIncludeFormat(const std::string_view &entry) {
bool isValidIncludeFormat(std::string_view entry) {
size_t spacePos = entry.find(' ');
if (spacePos == std::string_view::npos) {
return false;