This commit is contained in:
Victor Zverovich
2024-09-06 13:39:03 -07:00
parent f5a16a484b
commit 158893b384
6 changed files with 24 additions and 48 deletions
+2 -2
View File
@@ -147,8 +147,8 @@ FMT_API std::system_error vwindows_error(int error_code, string_view format_str,
* }
*/
template <typename... T>
auto windows_error(int error_code, string_view message,
const T&... args) -> std::system_error {
auto windows_error(int error_code, string_view message, const T&... args)
-> std::system_error {
return vwindows_error(error_code, message, vargs<T...>{{args...}});
}