Skip to content

Commit

Permalink
Update objective.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
icfaust authored Sep 30, 2024
1 parent 0bee9d6 commit 4d26b49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ struct objective_accessor {

template <typename Descriptor>
objective_impl* get_objective_impl(Descriptor&& desc) {
const auto& objective = objective_accessor{}.get_objective_impl(std::forward<Descriptor>(desc));
const auto objective = objective_accessor{}.get_objective_impl(std::forward<Descriptor>(desc));
return objective ? objective->get_impl() : nullptr;
}

Expand Down

0 comments on commit 4d26b49

Please sign in to comment.