Commit 118b3ddb authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

[Minor] Make ProblemSolver::pathOptimizerTypes return const reference

* This was causing a SEGV in hpp-corbaserver (IDL getSelected)
parent edec0034
......@@ -155,7 +155,7 @@ namespace hpp {
///
/// \param name of the type of path optimizer that should be added
void addPathOptimizer (const std::string& type);
PathOptimizerTypes_t pathOptimizerTypes () const {
const PathOptimizerTypes_t& pathOptimizerTypes () const {
return pathOptimizerTypes_;
}
/// Clear the vector of path optimizers
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment