about summary refs log tree commit diff
path: root/third_party/nix/src/nix/legacy.hh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--third_party/nix/src/nix/legacy.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/nix/legacy.hh b/third_party/nix/src/nix/legacy.hh
index a9bc65c02e..a0fc88da24 100644
--- a/third_party/nix/src/nix/legacy.hh
+++ b/third_party/nix/src/nix/legacy.hh
@@ -9,7 +9,7 @@ namespace nix {
 typedef std::function<void(int, char**)> MainFunction;
 
 struct RegisterLegacyCommand {
-  typedef std::map<std::string, MainFunction> Commands;
+  using Commands = std::map<std::string, MainFunction>;
   static Commands* commands;
 
   RegisterLegacyCommand(const std::string& name, MainFunction fun) {