Skip to content

Commit

Permalink
Exclude keys with '@' from cfi generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr15Jones committed Feb 13, 2024
1 parent de80e9e commit d9a62e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions FWCore/ParameterSet/src/ParameterDescriptionBase.cc
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ namespace edm {

void ParameterDescriptionBase::writeCfi_(
std::ostream& os, bool optional, bool& startWithComma, int indentation, bool& wroteSomething) const {
if (label().empty() or label()[0] == '@') {
return;
}
wroteSomething = true;
if (startWithComma)
os << ",";
Expand Down

0 comments on commit d9a62e0

Please sign in to comment.