Skip to content

Commit

Permalink
bug--
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Apr 5, 2018
1 parent 261198e commit ebeed04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/wrench/wms/WMS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ namespace wrench {
std::unique_ptr<WorkflowExecutionEvent> event = workflow->waitForNextExecutionEvent();
WorkflowExecutionEvent *event_ptr = event.release();

switch (event->type) {

switch (event_ptr->type) {
case WorkflowExecutionEvent::STANDARD_JOB_COMPLETION: {
processEventStandardJobCompletion(std::unique_ptr<StandardJobCompletedEvent>(
dynamic_cast<StandardJobCompletedEvent *>(event_ptr)));
Expand Down

0 comments on commit ebeed04

Please sign in to comment.