Skip to content

Commit b59dc9e

Browse files
committed
checkVectorSize: do not default name parameter
1 parent 4e167f2 commit b59dc9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGHF/D2H/Macros/runMassFitter.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ void runMassFitter(const std::string& configFileName)
218218

219219
std::vector<double> sliceVarLimits(nHistograms + 1);
220220

221-
auto checkVectorSize = [&](const auto& vec, const std::string& name = "", const bool isEmptyOk = false) {
221+
auto checkVectorSize = [&](const auto& vec, const std::string& name, const bool isEmptyOk = false) {
222222
if (vec.size() != static_cast<size_t>(nHistograms)) {
223223
if (isEmptyOk && vec.empty()) {
224224
return;

0 commit comments

Comments
 (0)