omit superfluous {} fixed v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Tue, 07 May 2019 01:03:21 +0200
branchv_0
changeset 14 f407f2a2871d
parent 13 b74001992ec3
child 15 ba91a464d2b3
omit superfluous {} fixed
src/CLIParser.h
--- a/src/CLIParser.h	Mon May 06 23:52:22 2019 +0200
+++ b/src/CLIParser.h	Tue May 07 01:03:21 2019 +0200
@@ -97,9 +97,8 @@
 				if (currentRelation.relation.size()) currentRelation.definitions.push_back(definition);
 				else c.definitions.push_back(definition);
 			} else throw relpipe::cli::RelpipeCLIException(L"Unsupported CLI option: " + option, relpipe::cli::CLI::EXIT_CODE_BAD_CLI_ARGUMENTS);
-
-			addRelation(c, currentRelation); // last relation
 		}
+		addRelation(c, currentRelation); // last relation
 
 		return c;
 	}