From b3eef140da853414776c8e03a70629a613a25ed0 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 15 Jun 2026 14:05:29 +0200 Subject: workflows/ci: add clang-format job --- um/service/test/windows_error.cpp | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'um/service/test/windows_error.cpp') diff --git a/um/service/test/windows_error.cpp b/um/service/test/windows_error.cpp index 1334620..5f8d457 100644 --- a/um/service/test/windows_error.cpp +++ b/um/service/test/windows_error.cpp @@ -10,16 +10,10 @@ #include #include -int main() -{ - try - { - throw service::windows_error::make( - ERROR_FILE_NOT_FOUND, - __FILE__, __LINE__, __FUNCTION__); - } - catch (const std::exception& e) - { +int main() { + try { + throw service::windows_error::make(ERROR_FILE_NOT_FOUND, __FILE__, __LINE__, __FUNCTION__); + } catch (const std::exception& e) { std::cerr << e.what() << "\n"; return 1; } -- cgit v1.3