]> git.tdb.fi Git - builder.git/blobdiff - source/cache.h
Save caches before starting the build
[builder.git] / source / cache.h
index 86a5f4721b62031bec864c206925881d0c14da02..69025fd97911613d6f3dfbda2a14a9fb408d1cf9 100644 (file)
@@ -1,8 +1,10 @@
 #ifndef CACHE_H_
 #define CACHE_H_
 
+#include <list>
+#include <map>
+#include <msp/fs/path.h>
 #include <msp/time/timestamp.h>
-#include "misc.h"
 
 class SourcePackage;
 class Target;
@@ -27,7 +29,7 @@ private:
        Msp::FS::Path filename;
        DataMap data;
        Msp::Time::TimeStamp mtime;
-       bool changed;
+       mutable bool changed;
 
 public:
        Cache(SourcePackage &p);