Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ql/termstructures/inflation/inflationhelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace QuantLib {
const Date& start)
: ZeroCouponInflationSwapHelper(
quote, swapObsLag, start, maturity, std::move(calendar), paymentConvention,
std::move(dayCounter), zii, observationInterpolation) {}
dayCounter, zii, observationInterpolation) {}

ZeroCouponInflationSwapHelper::ZeroCouponInflationSwapHelper(
const Handle<Quote>& quote,
Expand Down Expand Up @@ -174,9 +174,9 @@ namespace QuantLib {
CPI::InterpolationType interpolation,
Handle<YieldTermStructure> nominalTermStructure,
const Date& start)
: RelativeDateBootstrapHelper<YoYInflationTermStructure>(quote), swapObsLag_(swapObsLag),
maturity_(maturity), calendar_(std::move(calendar)), paymentConvention_(paymentConvention),
dayCounter_(std::move(dayCounter)), interpolation_(interpolation),
: RelativeDateBootstrapHelper<YoYInflationTermStructure>(quote, start == Date()),
swapObsLag_(swapObsLag), maturity_(maturity), calendar_(std::move(calendar)),
paymentConvention_(paymentConvention), dayCounter_(std::move(dayCounter)), interpolation_(interpolation),
nominalTermStructure_(std::move(nominalTermStructure)), start_(start) {
yii_ = yii->clone(termStructureHandle_);
// We want to be notified of changes of fixings, but we don't
Expand Down