Skip to content

Commit 2d36934

Browse files
jaladreipsigcbot
authored andcommitted
Prepare DebugInfo for C++20
Prepare DebugInfo for C++20
1 parent 6dfeb96 commit 2d36934

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

IGC/DebugInfo/VISADebugDecoder.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class DbgDecoder {
4646
uint16_t regNum;
4747
uint16_t subRegNum; // for GRF, in byte offset
4848

49-
bool operator==(const Register &rhs) {
49+
bool operator==(const Register &rhs) const {
5050
return (regNum == rhs.regNum && subRegNum == rhs.subRegNum);
5151
}
5252

@@ -59,7 +59,7 @@ class DbgDecoder {
5959
// off BE_FP (0) or absolute (1)
6060
int32_t memoryOffset : 31; // memory offset
6161

62-
bool operator==(const Memory &rhs) {
62+
bool operator==(const Memory &rhs) const {
6363
return (isBaseOffBEFP == rhs.isBaseOffBEFP &&
6464
memoryOffset == rhs.memoryOffset);
6565
}

0 commit comments

Comments
 (0)