add explicit
This commit is contained in:
parent
f0c6413dc8
commit
1f6874dd53
|
@ -91,7 +91,7 @@ Duration duration_cast(timeval const &tv) {
|
|||
//
|
||||
class TimeSegmentAdder {
|
||||
public:
|
||||
TimeSegmentAdder(Microseconds &in_target) :
|
||||
explicit TimeSegmentAdder(Microseconds &in_target) :
|
||||
target_(in_target),
|
||||
start_time_(std::chrono::steady_clock::now()),
|
||||
finished_(false) {
|
||||
|
|
Loading…
Reference in New Issue