Skip to content

Commit

Permalink
Avoid deprecation warnings in gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Jul 15, 2021
1 parent 500d301 commit 5ae8b94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ql/termstructures/inflationtermstructure.cpp
Expand Up @@ -23,6 +23,8 @@

namespace QuantLib {

QL_DEPRECATED_DISABLE_WARNING

InflationTermStructure::InflationTermStructure(
Rate baseRate,
const Period& observationLag,
Expand Down Expand Up @@ -68,6 +70,7 @@ namespace QuantLib {
setSeasonality(seasonality);
}

QL_DEPRECATED_ENABLE_WARNING

void InflationTermStructure::setSeasonality(
const ext::shared_ptr<Seasonality>& seasonality) {
Expand Down

0 comments on commit 5ae8b94

Please sign in to comment.