diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-13 19:25:17 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-13 19:25:17 +0200 |
| commit | 97b796e7788ae69c0aaeec2644246d9f10d2739d (patch) | |
| tree | b6397ccbabde7ee3e470c6a9ae799c91d6e070e2 /include/winapi | |
| parent | upgrade winapi-utf8 (diff) | |
| download | winapi-common-97b796e7788ae69c0aaeec2644246d9f10d2739d.tar.gz winapi-common-97b796e7788ae69c0aaeec2644246d9f10d2739d.zip | |
finally, perfect .clang-format settings?
Diffstat (limited to 'include/winapi')
| -rw-r--r-- | include/winapi/handle.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/winapi/handle.hpp b/include/winapi/handle.hpp index c0f85f4..a440069 100644 --- a/include/winapi/handle.hpp +++ b/include/winapi/handle.hpp @@ -88,9 +88,10 @@ public: * Write data to this handle. * @param src Binary data to write. */ - template <typename CharT, - typename Traits = std::char_traits<CharT>, - typename Allocator = std::allocator<CharT>> + template < + typename CharT, + typename Traits = std::char_traits<CharT>, + typename Allocator = std::allocator<CharT>> void write(const std::basic_string<CharT, Traits, Allocator>& src) const { write(std::basic_string_view<CharT>{src}); } |
