Use using instead of typedef

This commit is contained in:
Jacek Galowicz 2023-10-24 20:16:34 +02:00
parent 5ac87a75dd
commit b66381e8d8

View file

@ -29,7 +29,7 @@ struct SubstitutablePathInfo
uint64_t narSize; uint64_t narSize;
}; };
typedef std::map<StorePath, SubstitutablePathInfo> SubstitutablePathInfos; using SubstitutablePathInfos = std::map<StorePath, SubstitutablePathInfo>;
struct UnkeyedValidPathInfo struct UnkeyedValidPathInfo
@ -136,6 +136,6 @@ struct ValidPathInfo : UnkeyedValidPathInfo {
virtual ~ValidPathInfo() { } virtual ~ValidPathInfo() { }
}; };
typedef std::map<StorePath, ValidPathInfo> ValidPathInfos; using ValidPathInfos = std::map<StorePath, ValidPathInfo>;
} }