diff --git a/src/search/heuristic.cc b/src/search/heuristic.cc index d13382b339..14e5e0203d 100644 --- a/src/search/heuristic.cc +++ b/src/search/heuristic.cc @@ -14,7 +14,7 @@ using namespace std; Heuristic::Heuristic( - shared_ptr transform, + const shared_ptr &transform, bool cache_estimates, const string &name, utils::Verbosity verbosity) diff --git a/src/search/heuristic.h b/src/search/heuristic.h index 95a99c5449..2109b98b18 100644 --- a/src/search/heuristic.h +++ b/src/search/heuristic.h @@ -74,7 +74,7 @@ class Heuristic : public Evaluator { public: Heuristic( - std::shared_ptr transform, + const std::shared_ptr &transform, bool cache_estimates, const std::string &name, utils::Verbosity verbosity);