mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-13 01:42:56 +08:00
performance: Pass string_view by value
Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
137c3deadf
commit
cfd08bf38d
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user