Skip to content

Commit

Permalink
Expose swap() on DatedOISRateHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
eltoder committed Oct 15, 2024
1 parent 6e125f2 commit a6a75f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ql/termstructures/yield/oisratehelper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,12 @@ namespace QuantLib {
Real impliedQuote() const override;
void setTermStructure(YieldTermStructure*) override;
//@}
//! \name inspectors
//@{
// NOLINTNEXTLINE(cppcoreguidelines-noexcept-swap,performance-noexcept-swap)
ext::shared_ptr<OvernightIndexedSwap> swap() const { return swap_; }
//@}
//@}
//! \name Visitability
//@{
void accept(AcyclicVisitor&) override;
Expand Down

0 comments on commit a6a75f6

Please sign in to comment.