aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Sema/SemaStmt.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Sema/SemaStmt.cpp b/Sema/SemaStmt.cpp
index d6c4c2d6d1..2924370df3 100644
--- a/Sema/SemaStmt.cpp
+++ b/Sema/SemaStmt.cpp
@@ -246,6 +246,10 @@ namespace {
const llvm::APSInt &RHS) {
return LHS.first < RHS;
}
+ bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS,
+ const std::pair<llvm::APSInt, CaseStmt*> &RHS) {
+ return LHS.first < RHS.first;
+ }
bool operator()(const llvm::APSInt &LHS,
const std::pair<llvm::APSInt, CaseStmt*> &RHS) {
return LHS < RHS.first;