We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1fa76b commit 47ad9efCopy full SHA for 47ad9ef
1 file changed
modules/core/task/src/task.cpp
@@ -74,4 +74,9 @@ void ppc::core::Task::InternalOrderTest(const std::string& str) {
74
}
75
76
77
-ppc::core::Task::~Task() { functions_order_.clear(); }
+ppc::core::Task::~Task() {
78
+ if (functions_order_ == right_functions_order_) {
79
+ throw std::runtime_error("ORDER OF FUCTIONS IS NOT RIGHT: Task functions order is invalid.");
80
+ }
81
+ functions_order_.clear();
82
+}
0 commit comments