X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fpath.h;h=e560d3f96c4b3e1ae5b718f5d4a724e4fc8a57c2;hp=0b946fdcdb18bb00ab79ffe189249946fc5bc8be;hb=fa77438b62207466c48620604c8cc34931080936;hpb=50734eecb739210eb177a12c39d0ea93da10936a diff --git a/source/path.h b/source/path.h index 0b946fd..e560d3f 100644 --- a/source/path.h +++ b/source/path.h @@ -17,9 +17,9 @@ namespace FS { enum { #ifdef WIN32 - DIRSEP='\\' + DIRSEP = '\\' #else - DIRSEP='/' + DIRSEP = '/' #endif }; @@ -67,7 +67,7 @@ public: bool is_absolute() const; /// Extracts a range of components from the path. - Path subpath(unsigned start, unsigned count=static_cast(-1)) const; + Path subpath(unsigned start, unsigned count = static_cast(-1)) const; /// Concatenates this path with another one, with usual filesystem semantics Path operator/(const Path &p) const;