diff --git a/SWIG/ratehelpers.i b/SWIG/ratehelpers.i index 21b076391..d1c34398a 100644 --- a/SWIG/ratehelpers.i +++ b/SWIG/ratehelpers.i @@ -336,7 +336,7 @@ class OISRateHelper : public RateHelper { Natural lookbackDays = Null(), Natural lockoutDays = 0, bool applyObservationShift = false, - ext::shared_ptr pricer = {}); + const ext::shared_ptr& pricer = {}); ext::shared_ptr swap(); }; @@ -365,7 +365,7 @@ class DatedOISRateHelper : public RateHelper { Natural lookbackDays = Null(), Natural lockoutDays = 0, bool applyObservationShift = false, - ext::shared_ptr pricer = {}); + const ext::shared_ptr& pricer = {}); }; %shared_ptr(FxSwapRateHelper)