diff --git a/SWIG/basketoptions.i b/SWIG/basketoptions.i index 4e4aca26c..e1033340c 100644 --- a/SWIG/basketoptions.i +++ b/SWIG/basketoptions.i @@ -249,8 +249,8 @@ class StulzEngine : public PricingEngine { %shared_ptr(KirkEngine) class KirkEngine : public PricingEngine { public: - KirkEngine(const ext::shared_ptr& process1, - const ext::shared_ptr& process2, + KirkEngine(ext::shared_ptr process1, + ext::shared_ptr process2, Real correlation); }; @@ -258,8 +258,8 @@ class KirkEngine : public PricingEngine { class BjerksundStenslandSpreadEngine : public PricingEngine { public: BjerksundStenslandSpreadEngine( - const ext::shared_ptr& process1, - const ext::shared_ptr& process2, + ext::shared_ptr process1, + ext::shared_ptr process2, Real correlation); }; @@ -268,8 +268,8 @@ class OperatorSplittingSpreadEngine : public PricingEngine { public: enum Order {First, Second}; OperatorSplittingSpreadEngine( - const ext::shared_ptr& process1, - const ext::shared_ptr& process2, + ext::shared_ptr process1, + ext::shared_ptr process2, Real correlation, Order order = Second); };