Time equality comparisons

This commit is contained in:
2026-08-24 00:00:32 +02:00
parent 0bee2c22ca
commit eb22baacf9
@@ -49,6 +49,12 @@ class Time
Time& operator=(const Time& p_time) = default;
Time& operator=(Time&& p_time) = default;
[[nodiscard]]
bool operator==(const Time& p_other) const
{
return m_epoch == p_other.m_epoch;
}
[[nodiscard]]
auto operator<=>(const Time& p_other) const
{