diff --git a/absl/base/call_once.h b/absl/base/call_once.h index 25c783e5f3e039efe37761393b3fe624214798b1..b5fbeae5858cae56309e64dc459f46c0b07fce81 100644 --- a/absl/base/call_once.h +++ b/absl/base/call_once.h @@ -43,7 +43,6 @@ namespace absl { class once_flag; namespace base_internal { -// Implementation detail. std::atomic<uint32_t>* ControlWord(absl::once_flag* flag); } // namespace base_internal diff --git a/absl/container/inlined_vector.h b/absl/container/inlined_vector.h index feba87b58217c14a3538dc257f97d0d92729f037..cb36dc756dfbdb95c50d3219df789682812c3065 100644 --- a/absl/container/inlined_vector.h +++ b/absl/container/inlined_vector.h @@ -82,8 +82,7 @@ class InlinedVector { using reverse_iterator = std::reverse_iterator<iterator>; using const_reverse_iterator = std::reverse_iterator<const_iterator>; - InlinedVector() noexcept( - std::is_nothrow_default_constructible<allocator_type>::value) + InlinedVector() noexcept(noexcept(allocator_type())) : allocator_and_tag_(allocator_type()) {} explicit InlinedVector(const allocator_type& alloc) noexcept