summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-07-12 11:47:28 -0700
committerChih-Hung Hsieh <chh@google.com>2016-07-12 11:47:28 -0700
commit4ee1962bbd1f3685520bd191e44cfdb294844cf4 (patch)
tree3b6322139990fe4ec95d03a6bbf5b3ce1afd2491
parent78f176baafaffbe5192b7565c4e7d68ce998e731 (diff)
downloadextras-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
-rw-r--r--memory_replay/Pointers.h2
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);