Skip to content

Commit 161367d

Browse files
authored
Merge pull request #4579 from khaneliman/freebsd
fix(clock): fix freebsd compatibility
2 parents a62455e + bf0ccfd commit 161367d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/clock.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ const unsigned cldRowsInMonth(const year_month& ym, const weekday& firstdow) {
230230
auto cldGetWeekForLine(const year_month& ym, const weekday& firstdow, const unsigned line)
231231
-> const year_month_weekday {
232232
const unsigned idx = line - 2;
233-
const std::chrono::weekday_indexed indexed_first_day_of_week =
233+
const auto indexed_first_day_of_week =
234234
weekday{ym / 1} == firstdow ? firstdow[idx + 1] : firstdow[idx];
235235

236236
return ym / indexed_first_day_of_week;

0 commit comments

Comments
 (0)