X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ffs%2Fpath.cpp;h=99bcc8bfe216b13101ce51f077ed12d7efd281d4;hp=241b2f8aeb938493f006d735f36a9f8f4c41e6ec;hb=4b326cb4916d981d48a2997df3d82b6b3b7b6b92;hpb=d3b4cafbbb684a6f65ee9cc19162f2546c5326cb 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)