Skip to content

Commit 43c0d41

Browse files
authored
Support ptree entries with dot in the name (#5667)
1 parent 60e66af commit 43c0d41

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Framework/Core/src/PropertyTreeHelpers.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ void PropertyTreeHelpers::populate(std::vector<ConfigParamSpec> const& schema,
182182
// strip short version to get the correct key
183183
std::string key = spec.name.substr(0, spec.name.find(','));
184184
auto it = in.get_child_optional(key);
185+
if (!it) {
186+
it = in.get_child_optional(boost::property_tree::path(key, '/'));
187+
}
185188
if (!it) {
186189
continue;
187190
}

0 commit comments

Comments
 (0)