Skip to content

Commit

Permalink
Automated fixes by clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 11, 2022
1 parent 3a4205b commit 97c1b02
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions ql/instruments/cpicapfloor.cpp
Expand Up @@ -48,9 +48,19 @@ namespace QuantLib {
const ext::shared_ptr<ZeroInflationIndex>& infIndex,
const Period& observationLag,
CPI::InterpolationType observationInterpolation)
: CPICapFloor(type, nominal, startDate, baseCPI, maturity, fixCalendar, fixConvention,
payCalendar, payConvention, strike, Handle<ZeroInflationIndex>(infIndex),
observationLag, observationInterpolation) {}
: CPICapFloor(type,
nominal,
startDate,
baseCPI,
maturity,
std::move(fixCalendar),
fixConvention,
std::move(payCalendar),
payConvention,
strike,
Handle<ZeroInflationIndex>(infIndex),
observationLag,
observationInterpolation) {}

CPICapFloor::CPICapFloor(Option::Type type,
Real nominal,
Expand Down

0 comments on commit 97c1b02

Please sign in to comment.