From 4f671ae93b47916cf9d5dab55b9b0d21049c320a Mon Sep 17 00:00:00 2001 From: Simon Dold Date: Thu, 1 Feb 2024 14:54:55 +0100 Subject: [PATCH] [issue1082] make transform const --- src/search/heuristic.cc | 2 +- src/search/heuristic.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);