mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-04 11:13:58 +08:00
Merge pull request #101 from phprus/encoding
Removed duplicate encoding conversion
This commit is contained in:
commit
34fe1e314a
@ -2433,7 +2433,7 @@ inline path& path::operator/=(const Source& source)
|
|||||||
template <class Source>
|
template <class Source>
|
||||||
inline path& path::append(const Source& source)
|
inline path& path::append(const Source& source)
|
||||||
{
|
{
|
||||||
return this->operator/=(path(detail::toUtf8(source)));
|
return this->operator/=(path(source));
|
||||||
}
|
}
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
@ -2502,7 +2502,7 @@ template <class EcharT>
|
|||||||
inline path::path_type_EcharT<EcharT>& path::operator+=(EcharT x)
|
inline path::path_type_EcharT<EcharT>& path::operator+=(EcharT x)
|
||||||
{
|
{
|
||||||
std::basic_string<EcharT> part(1, x);
|
std::basic_string<EcharT> part(1, x);
|
||||||
concat(detail::toUtf8(part));
|
concat(part);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user