omit superfluous {} fixed v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Tue, 07 May 2019 01:03:21 +0200
branchv_0
changeset 22 d5e80f15d1f7
parent 21 6486334a9f93
child 23 6ee7a9e311e9
omit superfluous {} fixed
src/CLIParser.h
--- a/src/CLIParser.h	Mon May 06 16:06:57 2019 +0200
+++ b/src/CLIParser.h	Tue May 07 01:03:21 2019 +0200
@@ -99,9 +99,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;
 	}