X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcache.h;h=9193dacec848ae834ac264be6e0bb8ef8bc855a1;hb=d1f9551e05c9d341149eb490e05b1465d3d6b711;hp=cf7253f717586982f98699d15485dd54d4272766;hpb=3938f8030b1f62802decce19777ce70fdafaff10;p=builder.git diff --git a/source/cache.h b/source/cache.h index cf7253f..9193dac 100644 --- a/source/cache.h +++ b/source/cache.h @@ -1,8 +1,8 @@ #ifndef CACHE_H_ #define CACHE_H_ -#include #include +#include #include #include @@ -20,7 +20,7 @@ unprintable characters or nuls. class Cache { public: - using Values = std::list; + using Values = std::vector; private: using Key = std::pair; @@ -28,7 +28,7 @@ private: Msp::FS::Path filename; std::map data; Msp::Time::TimeStamp mtime; - mutable bool changed; + mutable bool changed = false; public: Cache(SourcePackage &p);