Error on no return type warning

Added non-existing noreturn destructor to fmt::throw_exception (for clang).
This commit is contained in:
Nekotekina 2021-01-06 23:33:09 +03:00
parent 9ba8f4795c
commit 1dcf5e4f85
2 changed files with 3 additions and 2 deletions

View file

@ -296,6 +296,8 @@ namespace fmt
static constexpr fmt_type_info type_list[sizeof...(Args) + 1]{fmt_type_info::make<fmt_unveil_t<Args>>()...};
raw_throw_exception({line, col, file, func}, reinterpret_cast<const char*>(fmt), type_list, fmt_args_t<Args...>{fmt_unveil<Args>::get(args)...});
}
[[noreturn]] ~throw_exception();
};
template <typename CharT, usz N, typename... Args>