Fix google-explicit-constructor warnings.

Bug: 28341362
Change-Id: I2cf746fd07addc6e6c22e98e2a5bb8a8ce47c885
This commit is contained in:
Chih-Hung Hsieh 2016-04-25 13:49:46 -07:00
parent d61bfb9a79
commit 1cc82ce95c
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ TEST(logcat, sorted_order) {
}
}
timestamp(const char *buffer)
explicit timestamp(const char *buffer)
{
init(buffer);
}

View File

@ -380,7 +380,7 @@ public:
tid(tid),
padding(0) {
}
LogBufferElementKey(uint64_t key):value(key) { }
explicit LogBufferElementKey(uint64_t key):value(key) { }
uint64_t getKey() { return value; }
};