Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21c0f295 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Fix google-explicit-constructor warnings.

* Add explicit keyword to conversion constructors.
Bug: 28341362
Test: build with WITH_TIDY=1

Change-Id: I7422d703de17c4266d2a022990d0e1df40f48226
parent 76ce8e52
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;