From 077a1eeaf866b07b90b2defec9ecb4a082e6199b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 14 Apr 2024 01:09:17 +0000 Subject: [PATCH] Automated fixes by clang-tidy --- ql/instruments/overnightindexedswap.cpp | 2 +- ql/instruments/overnightindexedswap.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ql/instruments/overnightindexedswap.cpp b/ql/instruments/overnightindexedswap.cpp index 949fe31846..b93a194669 100644 --- a/ql/instruments/overnightindexedswap.cpp +++ b/ql/instruments/overnightindexedswap.cpp @@ -54,7 +54,7 @@ namespace QuantLib { OvernightIndexedSwap::OvernightIndexedSwap(Type type, const std::vector& nominals, - Schedule schedule, + const Schedule& schedule, Rate fixedRate, DayCounter fixedDC, const ext::shared_ptr& overnightIndex, diff --git a/ql/instruments/overnightindexedswap.hpp b/ql/instruments/overnightindexedswap.hpp index 89ce778f61..58b2775651 100644 --- a/ql/instruments/overnightindexedswap.hpp +++ b/ql/instruments/overnightindexedswap.hpp @@ -56,7 +56,7 @@ namespace QuantLib { OvernightIndexedSwap(Type type, const std::vector& nominals, - Schedule schedule, + const Schedule& schedule, Rate fixedRate, DayCounter fixedDC, const ext::shared_ptr& overnightIndex,