Skip to content

Commit ed5da69

Browse files
Fix reference for string name parameter in getCfg
1 parent 59ce728 commit ed5da69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGLF/TableProducer/Strangeness/strangederivedbuilder.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ struct strangederivedbuilder {
279279
}
280280

281281
template <typename VType>
282-
void getCfg(o2::framework::InitContext& initContext, const std::string name, VType& v, const std::string task)
282+
void getCfg(o2::framework::InitContext& initContext, const std::string& name, VType& v, const std::string& task)
283283
{
284284
if (!o2::common::core::getTaskOptionValue(initContext, task, name, v, inheritEvtSelFromTaskVerbose)) {
285285
LOG(fatal) << "Could not get " << name << " from " << task << " task";

0 commit comments

Comments
 (0)