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] authored and lballabio committed May 6, 2024
1 parent e484366 commit 41b7ddc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ql/models/equity/hestonslvfdmmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ namespace QuantLib {
std::vector<Date> mandatoryDates,
const Real mixingFactor)
: localVol_(std::move(localVol)), hestonModel_(std::move(hestonModel)), endDate_(endDate),
params_(std::move(params)), mandatoryDates_(std::move(mandatoryDates)),
params_(params), mandatoryDates_(std::move(mandatoryDates)),
mixingFactor_(mixingFactor), logging_(logging) {

registerWith(localVol_);
Expand Down
2 changes: 1 addition & 1 deletion ql/termstructures/yield/oisratehelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ namespace QuantLib {
ext::optional<bool> endOfMonth,
ext::optional<Frequency> fixedPaymentFrequency,
const Calendar& fixedCalendar)
: DatedOISRateHelper(startDate, endDate, fixedRate, overnightIndex, discount, telescopicValueDates,
: DatedOISRateHelper(startDate, endDate, fixedRate, overnightIndex, std::move(discount), telescopicValueDates,
averagingMethod, paymentLag, paymentConvention, paymentFrequency, paymentCalendar,
overnightSpread, endOfMonth, fixedPaymentFrequency, fixedCalendar) {}

Expand Down

0 comments on commit 41b7ddc

Please sign in to comment.