Merge "Fix google-explicit-constructor warnings."

This commit is contained in:
Chih-hung Hsieh 2016-04-25 22:22:06 +00:00 committed by Gerrit Code Review
commit f9660191f0
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; }
};