aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/handle.cpp
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-13 19:25:17 +0200
committerEgor Tensin <egor@tensin.name>2026-06-13 19:25:17 +0200
commit97b796e7788ae69c0aaeec2644246d9f10d2739d (patch)
treeb6397ccbabde7ee3e470c6a9ae799c91d6e070e2 /src/handle.cpp
parentupgrade winapi-utf8 (diff)
downloadwinapi-common-97b796e7788ae69c0aaeec2644246d9f10d2739d.tar.gz
winapi-common-97b796e7788ae69c0aaeec2644246d9f10d2739d.zip
finally, perfect .clang-format settings?
Diffstat (limited to '')
-rw-r--r--src/handle.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/handle.cpp b/src/handle.cpp
index 916b8ae..89a9c6e 100644
--- a/src/handle.cpp
+++ b/src/handle.cpp
@@ -21,7 +21,8 @@ namespace {
std::runtime_error write_file_incomplete(std::size_t expected, std::size_t actual) {
return std::runtime_error{
- std::format("WriteFile could only write {} bytes instead of {}", actual, expected)};
+ std::format("WriteFile could only write {} bytes instead of {}", actual, expected)
+ };
}
bool is_std_handle(HANDLE handle) {