Skip to content
Snippets Groups Projects
Commit 3ae94a21 authored by wenqing's avatar wenqing
Browse files

[TimeInterval] use explicitly defaulted constructor

parent 44279583
No related branches found
No related tags found
No related merge requests found
......@@ -30,11 +30,7 @@ public:
{
}
explicit TimeInterval(const TimeInterval& time_inverval)
: _start_time(time_inverval._start_time),
_end_time(time_inverval._end_time)
{
}
TimeInterval(const TimeInterval& time_inverval) = default;
bool contains(const double current_time) const
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment