Skip to content

Commit

Permalink
Update Commands.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Angeld55 authored Feb 15, 2021
1 parent 0e3289b commit a58132c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CommandShell/Commands/Commands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ std::string UnaryCommand::execute(const std::vector<std::string>& args)
}
else if (args[0] == "compl")
{
FiniteStateAutomation* compl = new FiniteStateAutomation(Complement(*fsa));
dispatcher.env.registerAutomation(args[1], compl);
FiniteStateAutomation* comple = new FiniteStateAutomation(Complement(*fsa));
dispatcher.env.registerAutomation(args[1], comple);
}
else if (args[0] == "star")
{
Expand Down

0 comments on commit a58132c

Please sign in to comment.