From 7fcbd6e474235957f2785c3d9b5344b2acf3ff77 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 4 Jun 2026 22:39:44 +0200 Subject: upgrade to std::string_view --- include/winapi/path.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/winapi/path.hpp') diff --git a/include/winapi/path.hpp b/include/winapi/path.hpp index 26d89ce..8de2559 100644 --- a/include/winapi/path.hpp +++ b/include/winapi/path.hpp @@ -13,9 +13,9 @@ namespace winapi { class CanonicalPath { public: /** Make an absolute, canonical path. */ - static std::string canonicalize(const std::string&); + static std::string canonicalize(std::string_view); - explicit CanonicalPath(const std::string&); + explicit CanonicalPath(std::string_view); std::string get() const { return m_path; } std::string path() const { return get(); } -- cgit v1.3