OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76ce8e5
)
Fix google-explicit-constructor warnings.
author
Chih-Hung Hsieh
<chh@google.com>
Mon, 15 Aug 2016 21:45:02 +0000
(14:45 -0700)
committer
Chih-Hung Hsieh
<chh@google.com>
Mon, 15 Aug 2016 21:45:02 +0000
(14:45 -0700)
* Add explicit keyword to conversion constructors.
Bug:
28341362
Test: build with WITH_TIDY=1
Change-Id: I7422d703de17c4266d2a022990d0e1df40f48226
tools/split-select/SplitSelector.h
patch
|
blob
|
history
diff --git
a/tools/split-select/SplitSelector.h
b/tools/split-select/SplitSelector.h
index
193fda7
..
120354f
100644
(file)
--- a/
tools/split-select/SplitSelector.h
+++ b/
tools/split-select/SplitSelector.h
@@
-29,7
+29,7
@@
namespace split {
class SplitSelector {
public:
SplitSelector();
- SplitSelector(const android::Vector<SplitDescription>& splits);
+
explicit
SplitSelector(const android::Vector<SplitDescription>& splits);
android::Vector<SplitDescription> getBestSplits(const SplitDescription& target) const;