diff --git a/src/search/tasks/negated_axioms_task.h b/src/search/tasks/negated_axioms_task.h index b722ec0696..8015c5102f 100644 --- a/src/search/tasks/negated_axioms_task.h +++ b/src/search/tasks/negated_axioms_task.h @@ -18,8 +18,8 @@ struct NegatedAxiom { FactPair head; std::vector condition; - // TODO: move constructor? - NegatedAxiom(FactPair head, std::vector condition) + // TODO: clang suggested moving the second argument, is this correct? (clang doesn't complain at least :)) + NegatedAxiom(FactPair head, std::vector &&condition) : head(head), condition(condition) {} };