Remove commented out code

This commit is contained in:
Alexey Milovidov 2021-03-03 23:34:15 +03:00
parent ed0099a113
commit b1b3db09d7

View File

@ -189,6 +189,7 @@ private:
if (lut[guess - 1].date <= t)
return LUTIndex(guess - 1);
return LUTIndex(guess - 2);
}
@ -212,12 +213,6 @@ private:
return i;
}
// template <typename T>
// inline LUTIndex toLUTIndex(T t) const
// {
// return LUTIndex{static_cast<LUTIndex::UnderlyingType>(t) & date_lut_mask};
// }
template <typename V>
inline const Values & find(V v) const
{
@ -275,11 +270,6 @@ public:
return toDayNum(i - (lut[i].day_of_month - 1));
}
// inline DayNum toFirstDayNumOfMonth(time_t t) const
// {
// return toFirstDayNumOfMonth(toDayNum(t));
// }
/// Round down to start of quarter.
template <typename V>
inline ExtendedDayNum toFirstDayNumOfQuarter(V v) const