aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/winapi/debug/call_stack.hpp6
-rw-r--r--include/winapi/debug/symbol.hpp6
2 files changed, 8 insertions, 4 deletions
diff --git a/include/winapi/debug/call_stack.hpp b/include/winapi/debug/call_stack.hpp
index caa9226..1f53ded 100644
--- a/include/winapi/debug/call_stack.hpp
+++ b/include/winapi/debug/call_stack.hpp
@@ -26,8 +26,10 @@ public:
// Imposed by CaptureStackBackTrace:
static constexpr std::size_t max_length = 62;
- static_assert(frames_to_skip + frames_to_capture <= max_length,
- "Call stack length is too large");
+ static_assert(
+ frames_to_skip + frames_to_capture <= max_length,
+ "Call stack length is too large"
+ );
static CallStack capture();
diff --git a/include/winapi/debug/symbol.hpp b/include/winapi/debug/symbol.hpp
index cefb6c2..0320765 100644
--- a/include/winapi/debug/symbol.hpp
+++ b/include/winapi/debug/symbol.hpp
@@ -26,8 +26,10 @@ using Tag = ULONG;
constexpr Tag SYM_TAG_FUNCTION = 5;
#ifdef _MSC_VER
-static_assert(static_cast<Tag>(SymTagFunction) == SYM_TAG_FUNCTION,
- "unexpected SymTagFunction value");
+static_assert(
+ static_cast<Tag>(SymTagFunction) == SYM_TAG_FUNCTION,
+ "unexpected SymTagFunction value"
+);
#endif
} // namespace symbol