diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2017-10-11T21·51-0700 |
---|---|---|
committer | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2017-10-11T21·51-0700 |
commit | 31adde521b8db8725784ec4c5a4b5b07009eb286 (patch) | |
tree | bba76e1800619d56b082d63a20acbe0706125995 /absl/container/inlined_vector.h | |
parent | 0848aecd435389f9600249241467b74ee46f7942 (diff) | |
parent | 029795a9b5281379f892fbbe3f9a400d5a33f5cc (diff) |
merging, restoring .ci/abseil-cpp.json
Diffstat (limited to 'absl/container/inlined_vector.h')
-rw-r--r-- | absl/container/inlined_vector.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/absl/container/inlined_vector.h b/absl/container/inlined_vector.h index f68ca5074149..96a9d001a355 100644 --- a/absl/container/inlined_vector.h +++ b/absl/container/inlined_vector.h @@ -82,7 +82,8 @@ class InlinedVector { using reverse_iterator = std::reverse_iterator<iterator>; using const_reverse_iterator = std::reverse_iterator<const_iterator>; - InlinedVector() noexcept(noexcept(allocator_type())) + InlinedVector() noexcept( + std::is_nothrow_default_constructible<allocator_type>::value) : allocator_and_tag_(allocator_type()) {} explicit InlinedVector(const allocator_type& alloc) noexcept |