aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/filesystem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/include/zencore/filesystem.h b/zencore/include/zencore/filesystem.h
index a90f55ead..ec857b33c 100644
--- a/zencore/include/zencore/filesystem.h
+++ b/zencore/include/zencore/filesystem.h
@@ -77,7 +77,7 @@ protected:
public:
void Append(const std::filesystem::path& Rhs) { Super::Append(Rhs.c_str()); }
void operator /= (const std::filesystem::path& Rhs) { this->operator /= (Rhs.c_str()); };
- void operator /= (const CharType* Rhs) { AppendSeparator(); *this << (Rhs); }
+ void operator /= (const CharType* Rhs) { AppendSeparator(); Super::Append(Rhs); }
operator ViewType () const { return ToView(); }
std::basic_string_view<CharType> ToView() const { return std::basic_string_view<CharType>(Data(), Size()); }
std::filesystem::path ToPath() const { return std::filesystem::path(ToView()); }