diff --git a/ql/termstructures/yield/ratehelpers.cpp b/ql/termstructures/yield/ratehelpers.cpp index c6742e3033b..92102ccc990 100644 --- a/ql/termstructures/yield/ratehelpers.cpp +++ b/ql/termstructures/yield/ratehelpers.cpp @@ -596,8 +596,8 @@ namespace QuantLib { Date customPillarDate, bool endOfMonth, const ext::optional& useIndexedCoupons) - : SwapRateHelper(makeQuoteHandle(rate), tenor, calendar, fixedFrequency, fixedConvention, - fixedDayCount, iborIndex, std::move(spread), fwdStart, std::move(discount), settlementDays, + : SwapRateHelper(makeQuoteHandle(rate), tenor, std::move(calendar), fixedFrequency, fixedConvention, + std::move(fixedDayCount), iborIndex, std::move(spread), fwdStart, std::move(discount), settlementDays, pillarChoice, customPillarDate, endOfMonth, useIndexedCoupons) {} void SwapRateHelper::initializeDates() {