summaryrefslogtreecommitdiffstats
path: root/libcxx/include
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-06-27 00:55:25 +0000
committerEric Fiselier <eric@efcs.ca>2016-06-27 00:55:25 +0000
commit8b7faa68716d8c65ffad76b2594684a41aeb4c62 (patch)
treeb95da3b03ed0a67064720ee3e83103a276949f65 /libcxx/include
parent9372d8bc613b2ec6fa2dbaa63d84ecc1ffaf70fc (diff)
downloadbcm5719-llvm-8b7faa68716d8c65ffad76b2594684a41aeb4c62.tar.gz
bcm5719-llvm-8b7faa68716d8c65ffad76b2594684a41aeb4c62.zip
Implement p0337r0. Delete operator= for polymorphic_allocator.
llvm-svn: 273838
Diffstat (limited to 'libcxx/include')
-rw-r--r--libcxx/include/experimental/memory_resource2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/experimental/memory_resource b/libcxx/include/experimental/memory_resource
index f54ef0b2f24..9b345210ee5 100644
--- a/libcxx/include/experimental/memory_resource
+++ b/libcxx/include/experimental/memory_resource
@@ -176,7 +176,7 @@ public:
{}
polymorphic_allocator &
- operator=(polymorphic_allocator const &) = default;
+ operator=(polymorphic_allocator const &) = delete;
// 8.6.3, memory.polymorphic.allocator.mem
_LIBCPP_INLINE_VISIBILITY
OpenPOWER on IntegriCloud