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 Nov 25, 2024
1 parent 9cd5eab commit ce96c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ql/instruments/assetswap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace QuantLib {
const DayCounter& floatingDayCounter,
Date dealMaturity,
bool payBondCoupon)
: AssetSwap(payBondCoupon, bond, bondCleanPrice, iborIndex, spread,
: AssetSwap(payBondCoupon, std::move(bond), bondCleanPrice, iborIndex, spread,
Schedule(), floatingDayCounter, parSwap, gearing,
nonParRepayment, dealMaturity) {}

Expand Down

0 comments on commit ce96c8e

Please sign in to comment.