We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f39db3 commit 7c3cd0dCopy full SHA for 7c3cd0d
1 file changed
include/small/vector.hpp
@@ -1243,8 +1243,8 @@ namespace small {
1243
std::enable_if_t<!std::is_trivially_copyable_v<T2>, int> = 0>
1244
void
1245
copy_inline_trivial(vector const &) {
1246
- throw std::logic_error(
1247
- "Attempting to trivially copy not trivially copyable type");
+ small::detail::throw_exception(std::logic_error(
+ "Attempting to trivially copy not trivially copyable type"));
1248
}
1249
1250
/// \brief Make it empty and with no heap
0 commit comments