Verified Commit 46c948a9 authored by Nicolas Torres's avatar Nicolas Torres Committed by Justin Carpentier
Browse files

add some changes requested in PR related to C++98 compliance

parent 0eb790f4
......@@ -167,7 +167,7 @@ namespace pinocchio
const std::vector<JointIndex> &list_of_joints_to_lock,
const Eigen::MatrixBase<ConfigVectorType> &reference_configuration,
ModelTpl<Scalar, Options, JointCollectionTpl> &reduced_model,
std::vector<std::reference_wrapper<GeometryModel>> &list_of_reduced_geom_models);
std::vector<GeometryModel> &list_of_reduced_geom_models);
} // namespace pinocchio
......
......@@ -502,7 +502,8 @@ namespace pinocchio
buildReducedModel(input_model, list_of_joints_to_lock, reference_configuration, reduced_model);
// for all GeometryModels
for (const GeometryModel &input_geom_model : list_of_geom_models) {
for (size_t gmi = 0; gmi < list_of_geom_models.size(); ++gmi) {
const GeometryModel &input_geom_model = list_of_geom_models[gmi];
GeometryModel reduced_geom_model;
// Add all the geometries
......
Markdown is supported
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