X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffs%2Fpath.cpp;h=99bcc8bfe216b13101ce51f077ed12d7efd281d4;hb=64b635de88d64a3650136182d7a584aece103e15;hp=241b2f8aeb938493f006d735f36a9f8f4c41e6ec;hpb=a0d162e53034a6ef2ef8cfc310a3ee18a6a3872e;p=libs%2Fcore.git diff --git a/source/fs/path.cpp b/source/fs/path.cpp index 241b2f8..99bcc8b 100644 --- a/source/fs/path.cpp +++ b/source/fs/path.cpp @@ -89,7 +89,7 @@ Path Path::operator/(const Path &p) const Path &Path::operator/=(const Path &p) { if(p.is_absolute()) - path = p.path; + *this = p; else { for(Iterator i=p.begin(); i!=p.end(); ++i)