Fix build on clang due to -Wmismatched-tags
http://hydra.nixos.org/build/33073389
This commit is contained in:
parent
e69c48dc43
commit
dc4a71aae5
1 changed files with 2 additions and 1 deletions
|
@ -29,8 +29,9 @@ typedef std::map<std::string, ref<Command>> Commands;
|
||||||
|
|
||||||
/* An argument parser that supports multiple subcommands,
|
/* An argument parser that supports multiple subcommands,
|
||||||
i.e. ‘<command> <subcommand>’. */
|
i.e. ‘<command> <subcommand>’. */
|
||||||
struct MultiCommand : virtual Args
|
class MultiCommand : virtual Args
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
Commands commands;
|
Commands commands;
|
||||||
|
|
||||||
std::shared_ptr<Command> command;
|
std::shared_ptr<Command> command;
|
||||||
|
|
Loading…
Reference in a new issue