summaryrefslogtreecommitdiff
path: root/SA_SchedStrategy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'SA_SchedStrategy.cpp')
-rw-r--r--SA_SchedStrategy.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/SA_SchedStrategy.cpp b/SA_SchedStrategy.cpp
index 8567ecae208..7e95f7718c4 100644
--- a/SA_SchedStrategy.cpp
+++ b/SA_SchedStrategy.cpp
@@ -150,10 +150,10 @@ bool SA_SchedStrategy::satisfy_sched (TaskInstID task_inst)
if(!this->planner_->recurse_plan ()){
- this->planner_->undo_through(cur_cmd_id);
- return false;
+ this->planner_->undo_through(cur_cmd_id);
+ return false;
}else{
- return true;
+ return true;
}
};