1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00

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