Skip to content

Commit 0edfe43

Browse files
committed
fix build?
1 parent ee17c1b commit 0edfe43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/Frontend/HLSL/RootSignatureValidations.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ struct RangeInfo {
5252
uint32_t Space;
5353
llvm::dxbc::ShaderVisibility Visibility;
5454

55-
bool operator==(const RangeInfo &RHS) {
55+
bool operator==(const RangeInfo &RHS) const {
5656
return std::tie(LowerBound, UpperBound, Class, Space, Visibility) ==
5757
std::tie(RHS.LowerBound, RHS.UpperBound, RHS.Class, RHS.Space,
5858
RHS.Visibility);
5959
}
6060

61-
bool operator<(const RangeInfo &RHS) {
61+
bool operator<(const RangeInfo &RHS) const {
6262
return std::tie(Class, Space, LowerBound, UpperBound, Visibility) <
6363
std::tie(RHS.Class, RHS.Space, RHS.LowerBound, RHS.UpperBound,
6464
RHS.Visibility);

0 commit comments

Comments
 (0)