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