From baf3732247886f0e055708b580b6e8c2ab52af6d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 6 Jun 2026 00:08:01 +0200 Subject: minor fixes --- include/winapi/handle.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/winapi/handle.hpp') 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 Allocator = std::allocator> - void write(const std::basic_string src) const { + void write(const std::basic_string& src) const { write(std::basic_string_view{src}); } -- cgit v1.3