summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/Config.cpp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-05-03 12:08:05 -0700
committerChih-Hung Hsieh <chh@google.com>2016-05-03 12:08:05 -0700
commit62e3a078aa7b156139b1a2cec77e1a84eb10c5a4 (patch)
treeb37425943e0cd7284b319d6cad98bd71dcfdc8bb /libc/malloc_debug/Config.cpp
parent9ee905f12fa0aeb4ae0df708e15d2ffcfaf58000 (diff)
Fix google-explicit-constructor warnings.
Bug: 28341362 Change-Id: I84effbdfa1b9b39328a909b7f70fe17e7ee316c8
Diffstat (limited to 'libc/malloc_debug/Config.cpp')
-rw-r--r--libc/malloc_debug/Config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/malloc_debug/Config.cpp b/libc/malloc_debug/Config.cpp
index cc600861f..6220a233a 100644
--- a/libc/malloc_debug/Config.cpp
+++ b/libc/malloc_debug/Config.cpp
@@ -84,7 +84,7 @@ struct Feature {
class PropertyParser {
public:
- PropertyParser(const char* property) : cur_(property) {}
+ explicit PropertyParser(const char* property) : cur_(property) {}
bool Get(std::string* property, size_t* value, bool* value_set);