mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 17:00:59 +08:00
performance: move instead of copy
Related-To: NEO-15630 Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f0fed704a3
commit
be34c1ac86
@@ -1281,7 +1281,7 @@ int OfflineCompiler::parseCommandLine(size_t numArgs, const std::vector<std::str
|
||||
if (revisionId == -1 || deviceConfig.aotConfig.revision == static_cast<uint32_t>(revisionId)) {
|
||||
std::string ipVersion = ProductConfigHelper::parseMajorMinorRevisionValue(deviceConfig.aotConfig);
|
||||
if (!ipVersion.empty()) {
|
||||
deviceNamesToCheck.push_back(ipVersion);
|
||||
deviceNamesToCheck.push_back(std::move(ipVersion));
|
||||
}
|
||||
if (revisionId != -1) {
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user