Skip to content

Commit

Permalink
Avoid compiler error in VC++
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Oct 7, 2024
1 parent ed823b0 commit 235eb4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SWIG/ratehelpers.i
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ class OISRateHelper : public RateHelper {
Natural lookbackDays = Null<Natural>(),
Natural lockoutDays = 0,
bool applyObservationShift = false,
ext::shared_ptr<FloatingRateCouponPricer> pricer = {});
const ext::shared_ptr<FloatingRateCouponPricer>& pricer = {});
ext::shared_ptr<OvernightIndexedSwap> swap();
};

Expand Down Expand Up @@ -365,7 +365,7 @@ class DatedOISRateHelper : public RateHelper {
Natural lookbackDays = Null<Natural>(),
Natural lockoutDays = 0,
bool applyObservationShift = false,
ext::shared_ptr<FloatingRateCouponPricer> pricer = {});
const ext::shared_ptr<FloatingRateCouponPricer>& pricer = {});
};

%shared_ptr(FxSwapRateHelper)
Expand Down

0 comments on commit 235eb4a

Please sign in to comment.