mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 07:08:04 +08:00
fix: fix issues with clang-tidy on Windows
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
801d5fc48e
commit
140532f8b6
@@ -89,7 +89,7 @@ class Command : public IFNode<Command> {
|
||||
Command(CommandQueue &commandQueue);
|
||||
Command(CommandQueue &commandQueue, std::unique_ptr<KernelOperation> &kernelOperation);
|
||||
|
||||
virtual ~Command();
|
||||
~Command() override;
|
||||
virtual LinearStream *getCommandStream() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
@@ -268,7 +268,7 @@ std::vector<DeviceVector> Platform::groupDevices(DeviceVector devices) {
|
||||
outDevices[platformId].push_back(std::move(device));
|
||||
}
|
||||
std::sort(outDevices.begin(), outDevices.end(), [](DeviceVector &lhs, DeviceVector &rhs) -> bool {
|
||||
return lhs[0]->getHardwareInfo().platform.eProductFamily > rhs[0]->getHardwareInfo().platform.eProductFamily;
|
||||
return lhs[0]->getHardwareInfo().platform.eProductFamily > rhs[0]->getHardwareInfo().platform.eProductFamily; // NOLINT(clang-analyzer-cplusplus.Move)
|
||||
});
|
||||
return outDevices;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user