commit | 92c3f1e31fb58efc8e0087174cee187d20538f72 | [log] [tgz] |
---|---|---|
author | Brian Silverman <brian@peloton-tech.com> | Tue Dec 08 20:21:31 2015 -0500 |
committer | Brian Silverman <brian@peloton-tech.com> | Tue Dec 08 20:21:31 2015 -0500 |
tree | 796a9f1a8e31840086626c7f42420cdc0ee8f2a9 | |
parent | 250eb4c31a282717bafe63f37d64b88f48d21108 [diff] [blame] |
Various cleanups of issues caught by clang-tidy Change-Id: I6e79c121e7c9032cf5053dd31971e719fe76f4b6
diff --git a/aos/common/time.h b/aos/common/time.h index 226cbc2..a176ba0 100644 --- a/aos/common/time.h +++ b/aos/common/time.h
@@ -47,7 +47,7 @@ static const Time kZero; - constexpr Time(int32_t sec = 0, int32_t nsec = 0) + explicit constexpr Time(int32_t sec = 0, int32_t nsec = 0) : sec_(sec), nsec_(CheckConstexpr(nsec)) { } #ifndef SWIG