summaryrefslogtreecommitdiffstats
path: root/libcxx/include/map
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2016-07-18 13:19:00 +0000
committerMarshall Clow <mclow.lists@gmail.com>2016-07-18 13:19:00 +0000
commit2ee837256a86f5fda81589dc940076bec405fdb3 (patch)
tree1f611e87522743c220973e29f3428f9fc5cd6b90 /libcxx/include/map
parentd32a2d30cbe10cb966d0d98819a657eb209d1b47 (diff)
downloadbcm5719-llvm-2ee837256a86f5fda81589dc940076bec405fdb3.tar.gz
bcm5719-llvm-2ee837256a86f5fda81589dc940076bec405fdb3.zip
Change a couple ifdefs from '#if __cplusplus >= 2011xxx' to '#ifndef _LIBCPP_CXX03_LANG'. No functionality change.
llvm-svn: 275787
Diffstat (limited to 'libcxx/include/map')
-rw-r--r--libcxx/include/map4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/map b/libcxx/include/map
index 8dc84e73cbf..b8aa7a6d7a5 100644
--- a/libcxx/include/map
+++ b/libcxx/include/map
@@ -910,7 +910,7 @@ public:
_LIBCPP_INLINE_VISIBILITY
map& operator=(const map& __m)
{
-#if __cplusplus >= 201103L
+#ifndef _LIBCPP_CXX03_LANG
__tree_ = __m.__tree_;
#else
if (this != &__m) {
@@ -1637,7 +1637,7 @@ public:
_LIBCPP_INLINE_VISIBILITY
multimap& operator=(const multimap& __m)
{
-#if __cplusplus >= 201103L
+#ifndef _LIBCPP_CXX03_LANG
__tree_ = __m.__tree_;
#else
if (this != &__m) {
OpenPOWER on IntegriCloud