summaryrefslogtreecommitdiffstats
path: root/libcxx/include/unordered_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/unordered_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/unordered_map')
-rw-r--r--libcxx/include/unordered_map4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/unordered_map b/libcxx/include/unordered_map
index 319c71e11fb..bf64ad66f39 100644
--- a/libcxx/include/unordered_map
+++ b/libcxx/include/unordered_map
@@ -865,7 +865,7 @@ public:
_LIBCPP_INLINE_VISIBILITY
unordered_map& operator=(const unordered_map& __u)
{
-#if __cplusplus >= 201103L
+#ifndef _LIBCPP_CXX03_LANG
__table_ = __u.__table_;
#else
if (this != &__u) {
@@ -1619,7 +1619,7 @@ public:
_LIBCPP_INLINE_VISIBILITY
unordered_multimap& operator=(const unordered_multimap& __u)
{
-#if __cplusplus >= 201103L
+#ifndef _LIBCPP_CXX03_LANG
__table_ = __u.__table_;
#else
if (this != &__u) {
OpenPOWER on IntegriCloud