Skip to content

Commit

Permalink
Avoid gcc issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Jan 25, 2024
1 parent 1521630 commit 6e41eb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ql/termstructures/inflation/piecewisezeroinflationcurve.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ namespace QuantLib {
bootstrap_.setup(this);
}

QL_DEPRECATED_DISABLE_WARNING

/*! \deprecated Use the other overload and pass the base date directly
instead of using a lag. A base rate is not needed.
Deprecated in version 1.34.
Expand All @@ -84,7 +86,6 @@ namespace QuantLib {
std::vector<ext::shared_ptr<typename Traits::helper> > instruments,
Real accuracy = 1.0e-12,
const Interpolator& i = Interpolator())
QL_DEPRECATED_DISABLE_WARNING
: base_curve(referenceDate,
calendar,
dayCounter,
Expand All @@ -95,6 +96,7 @@ namespace QuantLib {
instruments_(std::move(instruments)), accuracy_(accuracy) {
bootstrap_.setup(this);
}

QL_DEPRECATED_ENABLE_WARNING
//@}

Expand Down

0 comments on commit 6e41eb8

Please sign in to comment.