]> granicus.if.org Git - clang/commitdiff
Try to appease MSVC's standard library.
authorDouglas Gregor <dgregor@apple.com>
Wed, 20 Jul 2011 00:31:58 +0000 (00:31 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 20 Jul 2011 00:31:58 +0000 (00:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135549 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Serialization/ContinuousRangeMap.h

index 2a27b9115b485a1ccff9a1bd41ca2acef9c563be..4641bddf0395d5d61af859603b230a3366026326 100644 (file)
@@ -51,6 +51,12 @@ private:
     bool operator ()(Int L, const_reference R) const {
       return L < R.first;
     }
+    bool operator ()(Int L, Int R) const { 
+      return L < R;
+    }
+    bool operator ()(const_reference L, const_reference R) const {
+      return L.first < R.first;
+    }
   };
 
 public: