refactor: adjust code to compile with c++20

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2024-11-28 15:49:15 +00:00
committed by Compute-Runtime-Automation
parent a9c0199dfe
commit 5e1fa75676
29 changed files with 55 additions and 43 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2023 Intel Corporation
* Copyright (C) 2020-2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -19,7 +19,7 @@ struct Swizzles {
ze_image_format_swizzle_t z;
ze_image_format_swizzle_t w;
bool operator==(const Swizzles &rhs) {
bool operator==(const Swizzles &rhs) const {
if (x != rhs.x)
return false;
if (y != rhs.y)