aboutsummaryrefslogtreecommitdiff
path: root/zencore/except.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-08-09 21:06:36 +0200
committerStefan Boberg <[email protected]>2021-08-09 21:06:36 +0200
commit1d8553b9dcc72d6596164a8bb76a8049e937a518 (patch)
tree64caacfb9a61f600f94246fa562470f61753f963 /zencore/except.cpp
parentFixed Event move assignment (diff)
downloadzen-1d8553b9dcc72d6596164a8bb76a8049e937a518.tar.xz
zen-1d8553b9dcc72d6596164a8bb76a8049e937a518.zip
clang-format fixes
Diffstat (limited to 'zencore/except.cpp')
-rw-r--r--zencore/except.cpp5
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