diff options
author | Vincent Ambo <mail@tazj.in> | 2020-08-21T02·23+0100 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2020-08-21T03·55+0000 |
commit | 7edbe59c6c70cd085fc68c4317c3a71a40ac21e5 (patch) | |
tree | b036747e1c9615c2abbd58560353e704d51bc922 /third_party/nix/src/nix/command.hh | |
parent | 674d921202754661bfcc02ef8fe40ade227349cb (diff) |
style(tvix): Replace remaining typedefs with using statements r/1702
Change (mostly) created via: fd . -e hh -e cc | parallel clang-tidy -p ~/builds/nix --fix "'--checks=-*,modernize-use-using'" Change-Id: I90ad6e64a5399f2005dfb9956074ec51c2c78cea Reviewed-on: https://cl.tvl.fyi/c/depot/+/1830 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'third_party/nix/src/nix/command.hh')
-rw-r--r-- | third_party/nix/src/nix/command.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/nix/src/nix/command.hh b/third_party/nix/src/nix/command.hh index 01c1ed69d61d..87e2fbe9d28d 100644 --- a/third_party/nix/src/nix/command.hh +++ b/third_party/nix/src/nix/command.hh @@ -51,7 +51,7 @@ struct Buildable { std::map<std::string, Path> outputs; }; -typedef std::vector<Buildable> Buildables; +using Buildables = std::vector<Buildable>; struct Installable { virtual std::string what() = 0; @@ -140,7 +140,7 @@ struct StorePathCommand : public InstallablesCommand { void run(ref<Store> store) override; }; -typedef std::map<std::string, ref<Command>> Commands; +using Commands = std::map<std::string, ref<Command>>; /* An argument parser that supports multiple subcommands, i.e. ‘<command> <subcommand>’. */ |