Added empty TimeRange constructor

This commit is contained in:
Daniel Wolf 2017-01-03 09:20:51 +01:00
parent da11232c31
commit d3cf642a43
2 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,11 @@ TimeRange TimeRange::zero() {
return zero;
}
TimeRange::TimeRange() :
start(0_cs),
end(0_cs)
{}
TimeRange::TimeRange(time_type start, time_type end) :
start(start),
end(end)

View File

@ -7,6 +7,7 @@ public:
static TimeRange zero();
TimeRange();
TimeRange(time_type start, time_type end);
TimeRange(const TimeRange&) = default;
TimeRange(TimeRange&&) = default;