From 07e5f1a7047f82da14c3223d14435bee4e763369 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 20 Jul 2011 00:31:58 +0000 Subject: [PATCH] Try to appease MSVC's standard library. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135549 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Serialization/ContinuousRangeMap.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/clang/Serialization/ContinuousRangeMap.h b/include/clang/Serialization/ContinuousRangeMap.h index 2a27b9115b..4641bddf03 100644 --- a/include/clang/Serialization/ContinuousRangeMap.h +++ b/include/clang/Serialization/ContinuousRangeMap.h @@ -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: -- 2.40.0