Skip to content

Commit

Permalink
DPL: add support for Lifetime::sporadic to query builder
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf authored and martenole committed Dec 1, 2023
1 parent d0913a7 commit dc268ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Framework/Core/src/DataDescriptorQueryBuilder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ std::vector<InputSpec> DataDescriptorQueryBuilder::parse(char const* config)
if (attribute.name == "lifetime" && attribute.defaultValue.get<std::string>() == "condition") {
lifetime = Lifetime::Condition;
}
if (attribute.name == "lifetime" && attribute.defaultValue.get<std::string>() == "sporadic") {
lifetime = Lifetime::Sporadic;
}
}
return InputSpec{binding, std::move(*lastMatcher.release()), lifetime, attributes};
};
Expand Down

0 comments on commit dc268ed

Please sign in to comment.