From 4dc898b7ed9a10c93e24ec232558dfa5559a5d74 Mon Sep 17 00:00:00 2001 From: Florent Lamiraux Date: Tue, 14 Jan 2025 12:13:06 +0100 Subject: [PATCH] Fix compilation warning. --- src/problem.impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/problem.impl.cc b/src/problem.impl.cc index a36e301..ad8e433 100644 --- a/src/problem.impl.cc +++ b/src/problem.impl.cc @@ -331,7 +331,7 @@ CORBA::Any* Problem::getParameter(const char* name) { char* Problem::getParameterDoc(const char* name) { if (problemSolver()->problem() != NULL) { try { - const core::ParameterDescription& desc = + const core::ParameterDescription desc = core::Problem::parameterDescription(name); std::stringstream ss; ss << desc.doc() << " [Default: ";