diff --git a/library/include/mobilisis/time_range.h b/library/include/mobilisis/time_range.h index 57493dd..c95f387 100644 --- a/library/include/mobilisis/time_range.h +++ b/library/include/mobilisis/time_range.h @@ -34,6 +34,13 @@ struct TimeRange { m_duration = timeRange.m_duration; return *this; } + + TimeRange &operator=(TimeRange const &timeRange) { + m_start = timeRange.m_start; + m_end = timeRange.m_end; + m_duration = timeRange.m_duration; + return *this; + } }; #endif // TIME_RANGE_H_INCLUDED