X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Futils.cpp;h=ca6d6f346469c6f4f980e601f6339fd9f587083f;hp=d9522a3c6551d264ccf9896ef780b340220a99ef;hb=e6fec68039fb5212993d687d352c540e407e6d96;hpb=59db379f143f9accda21b831e0243d02f27c1c70 diff --git a/source/utils.cpp b/source/utils.cpp index d9522a3..ca6d6f3 100644 --- a/source/utils.cpp +++ b/source/utils.cpp @@ -1,12 +1,13 @@ /* $Id$ -This file is part of libmsppath -Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions +This file is part of libmspfs +Copyright © 2006-2008 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ #include -#include +#include +#include #include #ifndef WIN32 #include @@ -189,7 +190,7 @@ Path relative(const Path &path, const Path &base) { Path::Iterator i=path.begin(); Path::Iterator j=base.begin(); - for(; (i!=path.end() && j!=base.end() && *i==*j); ++i,++j); + for(; (i!=path.end() && j!=base.end() && *i==*j); ++i, ++j) ; Path result; for(; j!=base.end(); ++j)