File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ union inline_array_or_vector {
6363 heap_vector (std::size_t count, VectorT value) : vec(count, value) {}
6464 };
6565
66- static_assert (std::is_nothrow_move_assignable_v <ArrayT>, " this class is not exception safe" );
66+ static_assert (std::is_nothrow_move_assignable <ArrayT>::value , " this class is not exception safe" );
6767
6868 inline_array iarray;
6969 heap_vector hvector;
@@ -216,7 +216,7 @@ struct small_vector {
216216 using heap_vector = typename repr_type::heap_vector;
217217 heap_vector hv;
218218 hv.vec .reserve (reserved_size);
219- static_assert (std::is_nothrow_move_assignable_v <T>, " this class is not exception safe" );
219+ static_assert (std::is_nothrow_move_assignable <T>::value , " this class is not exception safe" );
220220 std::move (ha.arr .begin (), ha.arr .begin () + ha.size , std::back_inserter (hv.vec ));
221221 new (&m_repr.hvector ) heap_vector (std::move (hv));
222222 }
You can’t perform that action at this time.
0 commit comments