Skip to content

Commit

Permalink
Merge pull request #37807 from makortel/usingWriteCfi
Browse files Browse the repository at this point in the history
Avoid hiding base class writeCfi_() functions in ParameterDescription<T>
  • Loading branch information
cmsbuild authored May 5, 2022
2 parents 21d065f + cd2cf8b commit 25cd8e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions FWCore/ParameterSet/interface/ParameterDescription.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ namespace edm {
return writeParameterValue::hasNestedContent(value_);
}

using ParameterDescriptionNode::writeCfi_;
void writeCfi_(std::ostream& os, int indentation) const override {
writeParameterValue::writeValue(os, indentation, value_, writeParameterValue::CFI);
}
Expand Down Expand Up @@ -226,6 +227,7 @@ namespace edm {

bool exists_(ParameterSet const& pset) const override;

using ParameterDescriptionNode::writeCfi_;
void writeCfi_(std::ostream& os, int indentation) const override;

void writeDoc_(std::ostream& os, int indentation) const override;
Expand Down Expand Up @@ -282,6 +284,7 @@ namespace edm {

bool exists_(ParameterSet const& pset) const override;

using ParameterDescriptionNode::writeCfi_;
void writeCfi_(std::ostream& os, int indentation) const override;

void writeDoc_(std::ostream& os, int indentation) const override;
Expand Down

0 comments on commit 25cd8e3

Please sign in to comment.