about summary refs log tree commit diff
path: root/src/nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-14T11·37+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-14T11·37+0100
commitdc4a71aae50853c728f210bbbf0b656edff69328 (patch)
treeae7983349a407c75a6a3abd2f5e2fca5956762d3 /src/nix
parente69c48dc4349f503e5c23914041a1225229120c2 (diff)
Fix build on clang due to -Wmismatched-tags
http://hydra.nixos.org/build/33073389
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/command.hh3
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;