diff options
Diffstat (limited to 'zencore/except.cpp')
| -rw-r--r-- | zencore/except.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/zencore/except.cpp b/zencore/except.cpp index 124b9455f..68b9e9a9b 100644 --- a/zencore/except.cpp +++ b/zencore/except.cpp @@ -1,8 +1,8 @@ // Copyright Epic Games, Inc. All Rights Reserved. +#include <fmt/format.h> #include <zencore/except.h> #include <system_error> -#include <fmt/format.h> namespace zen { @@ -29,7 +29,8 @@ void ThrowLastError(std::string_view Message, const std::source_location& Location) { using namespace fmt::literals; - throw std::system_error(std::error_code(::GetLastError(), std::system_category()), "{}({}): {}"_format(Location.file_name(), Location.line(), Message)); + throw std::system_error(std::error_code(::GetLastError(), std::system_category()), + "{}({}): {}"_format(Location.file_name(), Location.line(), Message)); } } // namespace zen |