summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/PointerData.h
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2019-01-02 10:59:48 -0800
committerChih-Hung Hsieh <chh@google.com>2019-01-02 11:04:05 -0800
commit770032ddfa31f6ed18e6ec85013b7939cd291eb0 (patch)
tree28dc26ae8a6b3623e79d1bb2b19fd5362477843c /libc/malloc_debug/PointerData.h
parent7bd54ade8d12762ef6bdb0096f3838261f14eee5 (diff)
Fix/suppress bionic google-explicit-constructor warnings
* Add explicit to conversion constructors/operators Bug: 28341362 Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor Change-Id: Id1ad0327c1b8c6f094bcbb3ae599bc1f716b3f2f
Diffstat (limited to 'libc/malloc_debug/PointerData.h')
-rw-r--r--libc/malloc_debug/PointerData.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/malloc_debug/PointerData.h b/libc/malloc_debug/PointerData.h
index b05a76383..6955c9a03 100644
--- a/libc/malloc_debug/PointerData.h
+++ b/libc/malloc_debug/PointerData.h
@@ -112,7 +112,7 @@ struct ListInfoType {
class PointerData : public OptionData {
public:
- PointerData(DebugData* debug_data);
+ explicit PointerData(DebugData* debug_data);
virtual ~PointerData() = default;
bool Initialize(const Config& config);