Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "getParameterSetNames is really a const function" #231

Merged
merged 1 commit into from Aug 4, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions FWCore/ParameterSet/interface/ParameterSet.h
Expand Up @@ -228,8 +228,8 @@ namespace edm {
// return tracked parameters; if 'trackiness' is false, w return
// untracked parameters.
size_t getParameterSetNames(std::vector<std::string>& output,
bool trackiness) const;
size_t getParameterSetNames(std::vector<std::string>& output) const;
bool trackiness = true) const;
size_t getParameterSetNames(std::vector<std::string>& output);
// Return the names of all parameters of type
// vector<ParameterSet>, pushing the names into the argument
// 'output'. Return the number of names pushed into the vector. If
Expand Down
2 changes: 1 addition & 1 deletion FWCore/ParameterSet/src/ParameterSet.cc
Expand Up @@ -775,7 +775,7 @@ namespace edm {
}

size_t
ParameterSet::getParameterSetNames(std::vector<std::string>& output) const {
ParameterSet::getParameterSetNames(std::vector<std::string>& output) {
std::transform(psetTable_.begin(), psetTable_.end(), back_inserter(output),
boost::bind(&std::pair<std::string const, ParameterSetEntry>::first, _1));
return output.size();
Expand Down