From: Douglas Gregor Date: Wed, 20 Jul 2011 00:31:58 +0000 (+0000) Subject: Try to appease MSVC's standard library. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07e5f1a7047f82da14c3223d14435bee4e763369;p=clang Try to appease MSVC's standard library. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135549 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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: