aboutsummaryrefslogtreecommitdiff
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
parentFixed Event move assignment (diff)
downloadzen-1d8553b9dcc72d6596164a8bb76a8049e937a518.tar.xz
zen-1d8553b9dcc72d6596164a8bb76a8049e937a518.zip
clang-format fixes
-rw-r--r--zencore/except.cpp5
-rw-r--r--zencore/include/zencore/except.h1
2 files changed, 3 insertions, 3 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
diff --git a/zencore/include/zencore/except.h b/zencore/include/zencore/except.h
index 2357ba1b5..ca0539d6e 100644
--- a/zencore/include/zencore/except.h
+++ b/zencore/include/zencore/except.h
@@ -55,5 +55,4 @@ ThrowSystemException(const char* Message)
ZENCORE_API void ThrowLastError(std::string_view Message);
ZENCORE_API void ThrowLastError(std::string_view Message, const std::source_location& Location);
-
} // namespace zen