From: Chris Lattner Date: Mon, 3 Sep 2007 18:31:57 +0000 (+0000) Subject: Add a method required by the VC++ STL, patch by Hartmut Kaiser! X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e85a2761ace912c66663d779dd230f88cf77fe0;p=clang Add a method required by the VC++ STL, patch by Hartmut Kaiser! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41687 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 &LHS, + const std::pair &RHS) { + return LHS.first < RHS.first; + } bool operator()(const llvm::APSInt &LHS, const std::pair &RHS) { return LHS < RHS.first;