From 1280d2ca84be19028533e9131fc8e4db7ebde05d Mon Sep 17 00:00:00 2001 From: Abdoulbari Zaher <32519851+a-zakir@users.noreply.github.com> Date: Thu, 12 Sep 2024 11:37:59 +0200 Subject: [PATCH] fix warnings on ActiveLink (#927) --- .../lpnamer/problem_modifier/ProblemVariablesFileAdapter.h | 4 ++-- .../problem_modifier/ProblemVariablesFromProblemAdapter.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cpp/lpnamer/problem_modifier/ProblemVariablesFileAdapter.h b/src/cpp/lpnamer/problem_modifier/ProblemVariablesFileAdapter.h index 295fbd870..2825de683 100644 --- a/src/cpp/lpnamer/problem_modifier/ProblemVariablesFileAdapter.h +++ b/src/cpp/lpnamer/problem_modifier/ProblemVariablesFileAdapter.h @@ -9,13 +9,13 @@ class ProblemVariablesFileAdapter : public IProblemVariablesProviderPort { public: ProblemVariablesFileAdapter( - ProblemData data, std::vector vector_1, + ProblemData data, std::vector vector_1, std::shared_ptr shared_ptr_1, std::filesystem::path path); ProblemVariables Provide() override; const ProblemData problem_data_; - const std::vector active_links_; + const std::vector active_links_; std::shared_ptr logger_; void extract_variables( const std::filesystem::path& file, std::vector& var_names, diff --git a/src/cpp/lpnamer/problem_modifier/ProblemVariablesFromProblemAdapter.h b/src/cpp/lpnamer/problem_modifier/ProblemVariablesFromProblemAdapter.h index fee9a404f..4bcd0fb83 100644 --- a/src/cpp/lpnamer/problem_modifier/ProblemVariablesFromProblemAdapter.h +++ b/src/cpp/lpnamer/problem_modifier/ProblemVariablesFromProblemAdapter.h @@ -7,7 +7,7 @@ class ProblemVariablesFromProblemAdapter : public IProblemVariablesProviderPort { public: ProblemVariablesFromProblemAdapter( - std::shared_ptr problem, std::vector vector_1, + std::shared_ptr problem, std::vector vector_1, std::shared_ptr shared_ptr_1); ProblemVariables Provide() override; @@ -19,6 +19,6 @@ class ProblemVariablesFromProblemAdapter std::map& p_indirect_cost_columns) const; std::shared_ptr problem_; - const std::vector active_links_; + const std::vector active_links_; std::shared_ptr logger_; };