Skip to content

Commit 2ffade2

Browse files
committed
Fixed autotools unity builds
1 parent 9b8efe3 commit 2ffade2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

ql/time/calendars/philippines.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace QuantLib {
2929
// Chinese festivals, the additional special (non-working) days
3030
// proclaimed in a given year only, election days, and the days on
3131
// which the exchange itself was closed.
32-
bool isTabulatedHoliday(const Date& date) {
32+
bool isTabulatedPhilippineHoliday(const Date& date) {
3333
static const std::vector<Date> holidays = {
3434
// 2020
3535
Date(25, January, 2020), // Chinese New Year
@@ -98,7 +98,7 @@ namespace QuantLib {
9898

9999
// Rule-based holidays that a proclamation moved to another date or
100100
// turned into a special working day for one year only.
101-
bool isWithdrawnHoliday(const Date& date) {
101+
bool isWithdrawnPhilippineHoliday(const Date& date) {
102102
static const std::vector<Date> withdrawn = {
103103
Date(31, December, 2021), // declared a special working day
104104
Date(30, November, 2023), // Bonifacio Day moved to November 27th
@@ -125,7 +125,7 @@ namespace QuantLib {
125125
if (isWeekend(w))
126126
return false;
127127

128-
if (isWithdrawnHoliday(date))
128+
if (isWithdrawnPhilippineHoliday(date))
129129
return true;
130130

131131
if ( // New Year's Day
@@ -158,7 +158,7 @@ namespace QuantLib {
158158
|| (d == 31 && m == December))
159159
return false;
160160

161-
return !isTabulatedHoliday(date);
161+
return !isTabulatedPhilippineHoliday(date);
162162
}
163163

164164
}

0 commit comments

Comments
 (0)