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 Apr 17, 2024
1 parent 5ea9697 commit 6b3dc72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ql/instruments/overnightindexedswap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace QuantLib {

OvernightIndexedSwap::OvernightIndexedSwap(Type type,
Real nominal,
Schedule schedule,
const Schedule& schedule,
Rate fixedRate,
DayCounter fixedDC,
const ext::shared_ptr<OvernightIndex>& overnightIndex,
Expand All @@ -41,7 +41,7 @@ namespace QuantLib {
RateAveraging::Type averagingMethod)
: OvernightIndexedSwap(type,
std::vector<Real>(1, nominal),
std::move(schedule),
schedule,
fixedRate,
std::move(fixedDC),
overnightIndex,
Expand Down
2 changes: 1 addition & 1 deletion ql/instruments/overnightindexedswap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace QuantLib {
public:
OvernightIndexedSwap(Type type,
Real nominal,
Schedule schedule,
const Schedule& schedule,
Rate fixedRate,
DayCounter fixedDC,
const ext::shared_ptr<OvernightIndex>& overnightIndex,
Expand Down

0 comments on commit 6b3dc72

Please sign in to comment.