From e832b71ea35afbf5b7999db1a15e5396525d005e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 14 Jan 2023 04:58:09 +0000 Subject: [PATCH] Fix uses of boost namespace --- SWIG/ratehelpers_ext.i | 6 +++--- SWIG/swap_ext.i | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SWIG/ratehelpers_ext.i b/SWIG/ratehelpers_ext.i index 54e8122687..4f7ac3a4fc 100644 --- a/SWIG/ratehelpers_ext.i +++ b/SWIG/ratehelpers_ext.i @@ -39,12 +39,12 @@ class ShiborSwapRateHelper: public RateHelper { const Handle& rate, const Period& swapTenor, Frequency fixedFreq, - const boost::shared_ptr& shiborIndex, + const ext::shared_ptr& shiborIndex, const Period& fwdStart = 0*Days, const Handle& discountingCurve = Handle()); - boost::shared_ptr swap(); + ext::shared_ptr swap(); }; %shared_ptr(SubPeriodsSwapRateHelper) @@ -53,7 +53,7 @@ class SubPeriodsSwapRateHelper: public RateHelper { SubPeriodsSwapRateHelper(const Handle& rate, const Period& swapTenor, Frequency fixedFreq, const Calendar& fixedCalendar, const DayCounter& fixedDayCount, BusinessDayConvention fixedConvention, const Period& floatPayTenor, - const boost::shared_ptr& iborIndex, const DayCounter& floatingDayCount, + const ext::shared_ptr& iborIndex, const DayCounter& floatingDayCount, DateGeneration::Rule rule = DateGeneration::Backward, QuantLib::Ext::SubPeriodsCoupon::Type type = QuantLib::Ext::SubPeriodsCoupon::Compounding, const Period& fwdStart = 0 * Days, diff --git a/SWIG/swap_ext.i b/SWIG/swap_ext.i index ff5cbdf777..1a4070cf50 100644 --- a/SWIG/swap_ext.i +++ b/SWIG/swap_ext.i @@ -47,7 +47,7 @@ class ShiborSwap : public VanillaSwap { const Period& swapTenor, const Period& fixedTenor, Rate fixedRate, - const boost::shared_ptr& index); + const ext::shared_ptr& index); }; %shared_ptr(SubPeriodsSwap) @@ -56,7 +56,7 @@ class SubPeriodsSwap: public Swap { SubPeriodsSwap(const Date& effectiveDate, Real nominal, const Period& swapTenor, bool isPayer, const Period& fixedTenor, Rate fixedRate, const Calendar& fixedCalendar, const DayCounter& fixedDayCount, BusinessDayConvention fixedConvention, const Period& floatPayTenor, - const boost::shared_ptr& iborIndex, const DayCounter& floatingDayCount, + const ext::shared_ptr& iborIndex, const DayCounter& floatingDayCount, DateGeneration::Rule rule = DateGeneration::Backward); };