Skip to content

Commit 46ba104

Browse files
committed
clang-format
1 parent 0898190 commit 46ba104

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Framework/include/QualityControl/CustomParameters.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,13 @@ class CustomParameters
127127
std::optional<boost::property_tree::ptree> getOptionalPtree(const std::string& key, const std::string& runType = "default", const std::string& beamType = "default") const;
128128

129129
/**
130-
* Return the ptree representation of the optional value for the given key, runType and beamType.
131-
* If no key is found for the runType and the Beamtype, the fallback is to substitute with "default", first for beamType then for runType.
132-
* Empty is only returned if the key could not be found in any combination of the provided run and beam types with "default".
133-
* @param key
134-
* @param activity
135-
* @return an optional with the ptree representation of the value for the given key, runType and beamType or empty if not found.
136-
*/
130+
* Return the ptree representation of the optional value for the given key, runType and beamType.
131+
* If no key is found for the runType and the Beamtype, the fallback is to substitute with "default", first for beamType then for runType.
132+
* Empty is only returned if the key could not be found in any combination of the provided run and beam types with "default".
133+
* @param key
134+
* @param activity
135+
* @return an optional with the ptree representation of the value for the given key, runType and beamType or empty if not found.
136+
*/
137137
std::optional<boost::property_tree::ptree> getOptionalPtree(const std::string& key, const Activity& activity) const;
138138

139139
/**

Framework/src/CustomParameters.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ std::optional<std::string> CustomParameters::atOptional(const std::string& key,
9696
return atOptional(key, activity.mType, activity.mBeamType);
9797
}
9898

99-
std::optional<boost::property_tree::ptree> CustomParameters::getOptionalPtree(const std::string& key, const std::string& runType , const std::string& beamType ) const
99+
std::optional<boost::property_tree::ptree> CustomParameters::getOptionalPtree(const std::string& key, const std::string& runType, const std::string& beamType) const
100100
{
101101
std::optional<boost::property_tree::ptree> result = std::nullopt;
102102

0 commit comments

Comments
 (0)