diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-03-14T11·37+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-03-14T11·37+0100 |
commit | dc4a71aae50853c728f210bbbf0b656edff69328 (patch) | |
tree | ae7983349a407c75a6a3abd2f5e2fca5956762d3 | |
parent | e69c48dc4349f503e5c23914041a1225229120c2 (diff) |
Fix build on clang due to -Wmismatched-tags
http://hydra.nixos.org/build/33073389
-rw-r--r-- | src/nix/command.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nix/command.hh b/src/nix/command.hh index a84721ccfa8c..27c3ab7f2134 100644 --- a/src/nix/command.hh +++ b/src/nix/command.hh @@ -29,8 +29,9 @@ typedef std::map<std::string, ref<Command>> Commands; /* An argument parser that supports multiple subcommands, i.e. ‘<command> <subcommand>’. */ -struct MultiCommand : virtual Args +class MultiCommand : virtual Args { +public: Commands commands; std::shared_ptr<Command> command; |