about summary refs log tree commit diff
path: root/src/nix
diff options
context:
space:
mode:
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;