]> git.tdb.fi Git - builder.git/blobdiff - source/virtualfilesystem.h
Fix bit shifts to be 64-bit
[builder.git] / source / virtualfilesystem.h
index d74872c2d5dba9365d9e08c717625c45afcb0661..60e198ad3b2dcf866c2be8f67094e054edf146e9 100644 (file)
@@ -1,9 +1,9 @@
 #ifndef VIRTUALFILESYSTEM_H_
 #define VIRTUALFILESYSTEM_H_
 
-#include <list>
 #include <map>
 #include <set>
+#include <vector>
 #include <msp/fs/path.h>
 #include "buildinfo.h"
 
@@ -20,15 +20,16 @@ possible to build them.
 class VirtualFileSystem
 {
 public:
-       using SearchPath = std::list<Msp::FS::Path>;
+       using SearchPath = std::vector<Msp::FS::Path>;
 
 private:
        Builder &builder;
        std::map<Msp::FS::Path, FileTarget *> targets;
        std::set<Msp::FS::Path> nonexistent;
+       SearchPath sys_bin_path;
 
 public:
-       VirtualFileSystem(Builder &);
+       VirtualFileSystem(Builder &b): builder(b) { }
 
        /** Gets an existing target associated with a path.  If no target has claimed
        that path, 0 is returned. */