diff --git a/include/ghc/filesystem.hpp b/include/ghc/filesystem.hpp index 58e5265..de445a5 100644 --- a/include/ghc/filesystem.hpp +++ b/include/ghc/filesystem.hpp @@ -2433,7 +2433,7 @@ inline path& path::operator/=(const Source& source) template inline path& path::append(const Source& source) { - return this->operator/=(path(detail::toUtf8(source))); + return this->operator/=(path(source)); } template <> @@ -2502,7 +2502,7 @@ template inline path::path_type_EcharT& path::operator+=(EcharT x) { std::basic_string part(1, x); - concat(detail::toUtf8(part)); + concat(part); return *this; }