aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi/handle.hpp
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 /include/winapi/handle.hpp
parentupgrade winapi-utf8 (diff)
downloadwinapi-common-97b796e7788ae69c0aaeec2644246d9f10d2739d.tar.gz
winapi-common-97b796e7788ae69c0aaeec2644246d9f10d2739d.zip
finally, perfect .clang-format settings?
Diffstat (limited to 'include/winapi/handle.hpp')
-rw-r--r--include/winapi/handle.hpp7
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});
}