OSDN Git Service
(root)
/
android-x86
/
system-extras.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78f176b
)
Fix google-explicit-constructor warnings in memory_replay.
author
Chih-Hung Hsieh
<chh@google.com>
Tue, 12 Jul 2016 18:47:28 +0000
(11:47 -0700)
committer
Chih-Hung Hsieh
<chh@google.com>
Tue, 12 Jul 2016 18:47:28 +0000
(11:47 -0700)
* Declare explicit conversion constructors.
Bug:
28341362
Change-Id: Ia6613392bd68f170ec2d7b0b033b7476aff27e0f
Test: build with clang-tidy
memory_replay/Pointers.h
patch
|
blob
|
history
diff --git
a/memory_replay/Pointers.h
b/memory_replay/Pointers.h
index
2491716
..
c7cd825
100644
(file)
--- 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);