mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
refactor: adjust code to compile with c++20
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a9c0199dfe
commit
5e1fa75676
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user