[neurun] Fix indentation in DataflowExecutor.cc (#6840)
author이한종/On-Device Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Wed, 28 Aug 2019 00:59:21 +0000 (09:59 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Wed, 28 Aug 2019 00:59:21 +0000 (09:59 +0900)
Fix indentation in DataflowExecutor.cc, remove TODO comment.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
runtimes/neurun/core/src/exec/DataflowExecutor.cc

index 06dfd59..7bc142a 100644 (file)
@@ -168,13 +168,12 @@ void DataflowExecutor::executeImpl()
     _finished_jobs[job_index] = std::move(job);
   }
   assert(noWaitingJobs());
-  // TODO Fix indentation
+
+  for (auto &o : _observers)
   {
-    for (auto &o : _observers)
-    {
-      o->handleEnd(this);
-    }
+    o->handleEnd(this);
   }
+
   // Reset input info for the next execution
   _input_info = _initial_input_info;
 }