diff options
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}); } |
