Skip to content

Commit

Permalink
Remove unneeded syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Jul 15, 2024
1 parent 0de61f7 commit a1fbc80
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions SWIG/inflation.i
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,13 @@ class ZeroInflationTermStructure : public InflationTermStructure {

// inflation indexes

%fragment("zeroinflationindex", "header") {
%{
using QuantLib::Region;
using QuantLib::CustomRegion;
using QuantLib::InflationIndex;
using QuantLib::ZeroInflationIndex;
using QuantLib::YoYInflationIndex;
}
%fragment("zeroinflationindex");
%}

class Region {
public:
Expand Down Expand Up @@ -226,10 +225,9 @@ class Name : public ZeroInflationIndex {
%enddef

%define export_yii_instance(Name)
%fragment("Name","header") {
%{
using QuantLib::Name;
}
%fragment("Name");
%}
%shared_ptr(Name)
class Name : public YoYInflationIndex {
public:
Expand Down

0 comments on commit a1fbc80

Please sign in to comment.