From a58132c87917640af783b93099bceb0ff91f50b5 Mon Sep 17 00:00:00 2001 From: Angel Dimitriev Date: Mon, 15 Feb 2021 18:54:43 +0200 Subject: [PATCH] Update Commands.cpp --- CommandShell/Commands/Commands.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CommandShell/Commands/Commands.cpp b/CommandShell/Commands/Commands.cpp index 352aeb6..5104a72 100644 --- a/CommandShell/Commands/Commands.cpp +++ b/CommandShell/Commands/Commands.cpp @@ -102,8 +102,8 @@ std::string UnaryCommand::execute(const std::vector& 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") {