diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-07-12 11:47:28 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2016-07-12 11:47:28 -0700 |
commit | 4ee1962bbd1f3685520bd191e44cfdb294844cf4 (patch) | |
tree | 3b6322139990fe4ec95d03a6bbf5b3ce1afd2491 /memory_replay | |
parent | 78f176baafaffbe5192b7565c4e7d68ce998e731 (diff) | |
download | extras-4ee1962bbd1f3685520bd191e44cfdb294844cf4.tar.gz |
Fix google-explicit-constructor warnings in memory_replay.
* Declare explicit conversion constructors.
Bug: 28341362
Change-Id: Ia6613392bd68f170ec2d7b0b033b7476aff27e0f
Test: build with clang-tidy
Diffstat (limited to 'memory_replay')
-rw-r--r-- | memory_replay/Pointers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/memory_replay/Pointers.h b/memory_replay/Pointers.h index 2491716a..c7cd825a 100644 --- a/memory_replay/Pointers.h +++ b/memory_replay/Pointers.h @@ -27,7 +27,7 @@ struct pointer_data { class Pointers { public: - Pointers(size_t max_allocs); + explicit Pointers(size_t max_allocs); virtual ~Pointers(); void Add(uintptr_t key_pointer, void* pointer); |