aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi/handle.hpp
diff options
context:
space:
mode:
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});
}