mirror of
https://github.com/NixOS/nix
synced 2025-07-06 00:51:47 +02:00
Use using instead of typedef
This commit is contained in:
parent
5ac87a75dd
commit
b66381e8d8
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue