Added empty TimeRange constructor
This commit is contained in:
parent
da11232c31
commit
d3cf642a43
|
@ -10,6 +10,11 @@ TimeRange TimeRange::zero() {
|
||||||
return zero;
|
return zero;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TimeRange::TimeRange() :
|
||||||
|
start(0_cs),
|
||||||
|
end(0_cs)
|
||||||
|
{}
|
||||||
|
|
||||||
TimeRange::TimeRange(time_type start, time_type end) :
|
TimeRange::TimeRange(time_type start, time_type end) :
|
||||||
start(start),
|
start(start),
|
||||||
end(end)
|
end(end)
|
||||||
|
|
|
@ -7,6 +7,7 @@ public:
|
||||||
|
|
||||||
static TimeRange zero();
|
static TimeRange zero();
|
||||||
|
|
||||||
|
TimeRange();
|
||||||
TimeRange(time_type start, time_type end);
|
TimeRange(time_type start, time_type end);
|
||||||
TimeRange(const TimeRange&) = default;
|
TimeRange(const TimeRange&) = default;
|
||||||
TimeRange(TimeRange&&) = default;
|
TimeRange(TimeRange&&) = default;
|
||||||
|
|
Loading…
Reference in New Issue