Commit 7d8f76b2 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fix constness of ProblemSolver::pathValidationType

parent 778acf00
......@@ -180,7 +180,7 @@ namespace hpp {
/// path optimization methods.
virtual void pathValidationType (const std::string& type,
const value_type& tolerance);
const std::string& pathValidationType (value_type& tolerance) {
const std::string& pathValidationType (value_type& tolerance) const {
tolerance = pathValidationTolerance_;
return pathValidationType_;
}
......
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