Skip to content

Commit

Permalink
Silence hidden member warning
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomofiorin committed Oct 7, 2024
1 parent 18d41d9 commit f1ad16e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/colvardeps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ void colvardeps::set_enabled(int feature_id, bool truefalse) {
}


int colvardeps::get_feature_id(std::string const &name)
int colvardeps::get_feature_id(std::string const &feature_name)
{
int fid = 0;
std::vector<feature *> const &features_this = features();
for (fid = 0; fid < int(features_this.size()); fid++) {
if (colvarparse::to_lower_cppstr(features()[fid]->description) ==
colvarparse::to_lower_cppstr(name)) {
colvarparse::to_lower_cppstr(feature_name)) {
break;
}
}
Expand Down

0 comments on commit f1ad16e

Please sign in to comment.