#ifndef CACHE_H_
#define CACHE_H_
-#include <list>
#include <map>
+#include <vector>
#include <msp/fs/path.h>
#include <msp/time/timestamp.h>
class Cache
{
public:
- using Values = std::list<std::string>;
+ using Values = std::vector<std::string>;
private:
using Key = std::pair<std::string, std::string>;
Msp::FS::Path filename;
std::map<Key, Values> data;
Msp::Time::TimeStamp mtime;
- mutable bool changed;
+ mutable bool changed = false;
public:
Cache(SourcePackage &p);