]> git.tdb.fi Git - builder.git/blobdiff - source/virtualfilesystem.h
Remove most container typedefs and refactor others
[builder.git] / source / virtualfilesystem.h
index a3327de2490001c1f3e3c349ac284e66fb9c7611..d74872c2d5dba9365d9e08c717625c45afcb0661 100644 (file)
@@ -10,6 +10,7 @@
 class Builder;
 class FileTarget;
 class Pattern;
+class Tool;
 
 /**
 Provides access to the filesystem in a way that takes known targets into
@@ -19,13 +20,11 @@ possible to build them.
 class VirtualFileSystem
 {
 public:
-       typedef std::list<Msp::FS::Path> SearchPath;
+       using SearchPath = std::list<Msp::FS::Path>;
 
 private:
-       typedef std::map<Msp::FS::Path, FileTarget *> TargetMap;
-
        Builder &builder;
-       TargetMap targets;
+       std::map<Msp::FS::Path, FileTarget *> targets;
        std::set<Msp::FS::Path> nonexistent;
 
 public: