summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2015-12-16 00:53:04 +0000
committerEric Fiselier <eric@efcs.ca>2015-12-16 00:53:04 +0000
commite2e332a50eee8adc091fab85514649529bc18db2 (patch)
treee9e811517b3a2edd55d4ac6202e9c96b23b4d8f9 /libcxx
parent61a24ab6cc305fec36c4b6389a1d6c966d12c259 (diff)
downloadbcm5719-llvm-e2e332a50eee8adc091fab85514649529bc18db2.tar.gz
bcm5719-llvm-e2e332a50eee8adc091fab85514649529bc18db2.zip
Make noexcept specifications on __hash_table definitions match their declarations.
llvm-svn: 255738
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/include/__hash_table2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/__hash_table b/libcxx/include/__hash_table
index 6ea388bf303..cfa763ab217 100644
--- a/libcxx/include/__hash_table
+++ b/libcxx/include/__hash_table
@@ -1143,6 +1143,7 @@ __hash_table<_Tp, _Hash, _Equal, _Alloc>::__hash_table()
_NOEXCEPT_(
is_nothrow_default_constructible<__bucket_list>::value &&
is_nothrow_default_constructible<__first_node>::value &&
+ is_nothrow_default_constructible<__node_allocator>::value &&
is_nothrow_default_constructible<hasher>::value &&
is_nothrow_default_constructible<key_equal>::value)
: __p2_(0),
@@ -1211,6 +1212,7 @@ __hash_table<_Tp, _Hash, _Equal, _Alloc>::__hash_table(__hash_table&& __u)
_NOEXCEPT_(
is_nothrow_move_constructible<__bucket_list>::value &&
is_nothrow_move_constructible<__first_node>::value &&
+ is_nothrow_move_constructible<__node_allocator>::value &&
is_nothrow_move_constructible<hasher>::value &&
is_nothrow_move_constructible<key_equal>::value)
: __bucket_list_(_VSTD::move(__u.__bucket_list_)),
OpenPOWER on IntegriCloud