summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-07-20 00:31:58 +0000
committerDouglas Gregor <dgregor@apple.com>2011-07-20 00:31:58 +0000
commit551273e176b5c719a581a9f0cc17917bdb4be3e6 (patch)
tree5cc0dca5d8d8344bb9f2c368d60072589835e501
parent047d2effea46b1ca886c64d174487aeddf3f13c7 (diff)
downloadbcm5719-llvm-551273e176b5c719a581a9f0cc17917bdb4be3e6.tar.gz
bcm5719-llvm-551273e176b5c719a581a9f0cc17917bdb4be3e6.zip
Try to appease MSVC's standard library.
llvm-svn: 135549
-rw-r--r--clang/include/clang/Serialization/ContinuousRangeMap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/include/clang/Serialization/ContinuousRangeMap.h b/clang/include/clang/Serialization/ContinuousRangeMap.h
index 2a27b9115b4..4641bddf039 100644
--- a/clang/include/clang/Serialization/ContinuousRangeMap.h
+++ b/clang/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:
OpenPOWER on IntegriCloud