aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi/handle.hpp
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-06 00:08:01 +0200
committerEgor Tensin <egor@tensin.name>2026-06-06 00:08:01 +0200
commitbaf3732247886f0e055708b580b6e8c2ab52af6d (patch)
tree4176c63b95156861a681d82b6817434c7f70a453 /include/winapi/handle.hpp
parentfix a warning (diff)
downloadwinapi-common-baf3732247886f0e055708b580b6e8c2ab52af6d.tar.gz
winapi-common-baf3732247886f0e055708b580b6e8c2ab52af6d.zip
minor fixes
Diffstat (limited to 'include/winapi/handle.hpp')
-rw-r--r--include/winapi/handle.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/winapi/handle.hpp b/include/winapi/handle.hpp
index 7af7252..23e5a3c 100644
--- a/include/winapi/handle.hpp
+++ b/include/winapi/handle.hpp
@@ -84,7 +84,7 @@ public:
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 {
+ void write(const std::basic_string<CharT, Traits, Allocator>& src) const {
write(std::basic_string_view<CharT>{src});
}