]> git.tdb.fi Git - builder.git/blobdiff - source/virtualfilesystem.h
Fix bit shifts to be 64-bit
[builder.git] / source / virtualfilesystem.h
index 9a25930aa8a8cf693980cf80720a23bb3508623b..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,7 +20,7 @@ possible to build them.
 class VirtualFileSystem
 {
 public:
-       using SearchPath = std::list<Msp::FS::Path>;
+       using SearchPath = std::vector<Msp::FS::Path>;
 
 private:
        Builder &builder;
@@ -29,7 +29,7 @@ private:
        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. */