From 261a1583d9d909b2a25f9f2a6cb2f28c6daaed13 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 24 Nov 2024 01:30:58 +0000 Subject: [PATCH] Automated fixes by clang-tidy --- ql/instruments/assetswap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ql/instruments/assetswap.cpp b/ql/instruments/assetswap.cpp index b5fe15eb28..707d2d0bba 100644 --- a/ql/instruments/assetswap.cpp +++ b/ql/instruments/assetswap.cpp @@ -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) {}