]> git.tdb.fi Git - libs/core.git/blobdiff - source/fs/path.h
Use C++11 features with containers
[libs/core.git] / source / fs / path.h
index 3cbfb16cf6e4052c57d223cd1fafd96b377b1c98..e0b593caf2099839d2f517deb2a3b2b0e4e89ffb 100644 (file)
@@ -10,7 +10,7 @@ namespace FS {
 
 enum
 {
-#ifdef WIN32
+#ifdef _WIN32
        DIRSEP = '\\'
 #else
        DIRSEP = '/'
@@ -67,7 +67,7 @@ public:
 
 private:
        std::string path;
-       std::vector<std::string::size_type> separators;
+       PositionArray separators;
 
 public:
        Path();