Skip to content

Commit

Permalink
Move calendar imports where they are used
Browse files Browse the repository at this point in the history
  • Loading branch information
gbfredrik committed Jan 16, 2024
1 parent f094be0 commit 6582fad
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions ql/indexes/ibor/thbfix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@

#include <ql/indexes/ibor/libor.hpp>
#include <ql/time/calendars/thailand.hpp>
#include <ql/time/calendars/unitedstates.hpp>
#include <ql/time/calendars/unitedkingdom.hpp>
#include <ql/time/calendars/jointcalendar.hpp>
#include <ql/time/daycounters/actual365fixed.hpp>
#include <ql/currencies/asia.hpp>

Expand Down
1 change: 1 addition & 0 deletions ql/termstructures/yield/overnightindexfutureratehelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

#include <ql/termstructures/yield/overnightindexfutureratehelper.hpp>
#include <ql/indexes/ibor/sofr.hpp>
#include <ql/time/calendars/unitedstates.hpp>
#include <ql/utilities/null_deleter.hpp>

namespace QuantLib {
Expand Down
1 change: 0 additions & 1 deletion ql/termstructures/yield/ratehelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include <ql/termstructures/yield/ratehelpers.hpp>
#include <ql/time/asx.hpp>
#include <ql/time/calendars/jointcalendar.hpp>
#include <ql/time/calendars/unitedstates.hpp>
#include <ql/time/imm.hpp>
#include <ql/utilities/null_deleter.hpp>
#include <ql/optional.hpp>
Expand Down
1 change: 0 additions & 1 deletion ql/termstructures/yield/ratehelpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
#include <ql/instruments/futures.hpp>
#include <ql/time/calendar.hpp>
#include <ql/time/daycounter.hpp>
#include <ql/time/calendars/unitedstates.hpp>
#include <ql/optional.hpp>

namespace QuantLib {
Expand Down
1 change: 1 addition & 0 deletions test-suite/overnightindexedswap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include <ql/cashflows/cashflows.hpp>
#include <ql/cashflows/couponpricer.hpp>
#include <ql/currencies/europe.hpp>
#include <ql/time/calendars/unitedstates.hpp>
#include <ql/utilities/dataformatters.hpp>

#include <iostream>
Expand Down

0 comments on commit 6582fad

Please sign in to comment.