From 011e039c4b88dbf3c5b921c935630a9d026967f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D1=81=D0=BB=D0=B0=D0=B2=20?= =?UTF-8?q?=D0=A9=D0=B0=D0=BF=D0=BE=D0=B2?= Date: Mon, 15 Feb 2021 22:15:26 +0500 Subject: [PATCH] Removed duplicate encoding conversion --- include/ghc/filesystem.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }