mirror of
https://github.com/NixOS/nix.git
synced 2024-11-26 00:32:28 +00:00
Use using instead of typedef
This commit is contained in:
parent
5ac87a75dd
commit
b66381e8d8
@ -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>;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user