Skip to content

Commit ac88aa2

Browse files
authored
Configuration lowercase namespace (#6)
1 parent 867a87e commit ac88aa2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/ReadoutUtils.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,17 @@ std::string ReadoutUtils::NumberOfBytesToString(double value,const char*suffix)
6161
return std::string(bufStr);
6262
}
6363

64-
void convertConfigurationNodeToPTree(const AliceO2::Configuration::Tree::Node& node, boost::property_tree::ptree &pt, std::string basePath="", const char separator='.')
64+
void convertConfigurationNodeToPTree(const o2::configuration::tree::Node& node, boost::property_tree::ptree &pt, std::string basePath="", const char separator='.')
6565
{
66-
AliceO2::Configuration::Visitor::apply(node,
67-
[&](const AliceO2::Configuration::Tree::Branch& branch) {
66+
o2::configuration::visitor::apply(node,
67+
[&](const o2::configuration::tree::Branch& branch) {
6868
if (basePath.length()!=0) {basePath+=separator;}
6969
for (const auto& keyValuePair : branch) {
7070
convertConfigurationNodeToPTree(keyValuePair.second, pt, basePath+keyValuePair.first);
7171
}
7272
},
73-
[&](const AliceO2::Configuration::Tree::Leaf& leaf) {
74-
std::string value= AliceO2::Configuration::Tree::convert<std::string>(leaf);
73+
[&](const o2::configuration::tree::Leaf& leaf) {
74+
std::string value= o2::configuration::tree::convert<std::string>(leaf);
7575
pt.put(basePath,value);
7676
}
7777
);

src/ReadoutUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ std::string NumberOfBytesToString(double value,const char*suffix);
2626
// pt: destination property_tree object where to copy input configuration structure
2727
// basePath: where to store top node of input configuration structure in destination property tree
2828
// separator: separator character for destination property tree elements
29-
void convertConfigurationNodeToPTree(const AliceO2::Configuration::Tree::Node& node, boost::property_tree::ptree &pt, std::string basePath="", const char separator='.');
29+
void convertConfigurationNodeToPTree(const o2::configuration::tree::Node& node, boost::property_tree::ptree &pt, std::string basePath="", const char separator='.');
3030

3131
}
3232

0 commit comments

Comments
 (0)