From dc4a71aae50853c728f210bbbf0b656edff69328 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 14 Mar 2016 12:37:30 +0100 Subject: [PATCH] Fix build on clang due to -Wmismatched-tags http://hydra.nixos.org/build/33073389 --- src/nix/command.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nix/command.hh b/src/nix/command.hh index a84721ccf..27c3ab7f2 100644 --- a/src/nix/command.hh +++ b/src/nix/command.hh @@ -29,8 +29,9 @@ typedef std::map> Commands; /* An argument parser that supports multiple subcommands, i.e. ‘ ’. */ -struct MultiCommand : virtual Args +class MultiCommand : virtual Args { +public: Commands commands; std::shared_ptr command;