diff --git a/input_resolver.cpp b/input_resolver.cpp index c35320c..b95e481 100644 --- a/input_resolver.cpp +++ b/input_resolver.cpp @@ -80,6 +80,10 @@ Command resolveCommand() { operation = c; } + else + { + operation = '+'; + } } return {shouldQuit, operation, validation_result.next_arg(), shouldPrint};