diff --git a/examples/example_signal_handler.cpp b/examples/example_signal_handler.cpp index 742fb226..9dfa28a4 100644 --- a/examples/example_signal_handler.cpp +++ b/examples/example_signal_handler.cpp @@ -24,7 +24,9 @@ void stack_overflow() void infinite_loop() { /* break out with ctrl+c to test SIGINT handling */ - while (1) {}; + while (1) + { + }; } void illegal_instruction() { raise(SIGILL); } @@ -55,14 +57,14 @@ int main() std::vector threads; for (size_t i = 0; i < 4; ++i) { - threads.emplace_back(std::thread([]() { - + threads.emplace_back(std::thread( + []() + { #if defined(_WIN32) - // NOTE: On windows the signal handler must be installed on each new thread - quill::init_signal_handler(); + // NOTE: On windows the signal handler must be installed on each new thread + quill::init_signal_handler(); #endif - - // sleep for 1 second so all threads are ready + // sleep for 1 second so all threads are ready std::this_thread::sleep_for(std::chrono::seconds{1}); for (size_t i = 0; i < 10; ++i) diff --git a/quill/include/quill/MacroMetadata.h b/quill/include/quill/MacroMetadata.h index 81fbee76..a52aa328 100644 --- a/quill/include/quill/MacroMetadata.h +++ b/quill/include/quill/MacroMetadata.h @@ -187,4 +187,4 @@ class MacroMetadata std::wstring_view _wmessage_format; #endif }; -} // namespace quill +} // namespace quill \ No newline at end of file