From 4b9861a40909b11583f6404e2c821f92f422479b Mon Sep 17 00:00:00 2001 From: Martin Hanzik <martin@hanzik.com> Date: Thu, 10 May 2018 20:40:42 +0200 Subject: [PATCH] Cleanup --- agui2/src/Execution/ParallelExecutor.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/agui2/src/Execution/ParallelExecutor.cpp b/agui2/src/Execution/ParallelExecutor.cpp index c592547f96..b8dd613d38 100644 --- a/agui2/src/Execution/ParallelExecutor.cpp +++ b/agui2/src/Execution/ParallelExecutor.cpp @@ -20,7 +20,6 @@ std::shared_ptr<abstraction::OperationAbstraction> ParallelExecutor::execute(Out } // collect all boxes leading to the output box - // TODO validate this std::vector<ModelBox*> boxes; boxes.push_back(output); @@ -35,9 +34,8 @@ std::shared_ptr<abstraction::OperationAbstraction> ParallelExecutor::execute(Out for (auto* b: box->inputs) { if (!b) { // unconnected input - // TODO move this elsewhere + // TODO check this earlier throw exception::CommonException { "Connection graph contains an unconnected input." }; - return nullptr; } boxes.push_back(b); } -- GitLab