diff options
Diffstat (limited to 'third_party/nix/src/nix/legacy.hh')
-rw-r--r-- | third_party/nix/src/nix/legacy.hh | 2 |
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 a9bc65c02e76..a0fc88da244c 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) { |