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

Commit 759af114 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Fix google-explicit-constructor warnings in dumpstate.

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

Change-Id: I61a0e9a8a38a09c1e33a479c3111c45c5fe7483d
parent 0322a717
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -218,7 +218,7 @@ bool is_user_build();
 */
 */
class DurationReporter {
class DurationReporter {
public:
public:
    DurationReporter(const char *title);
    explicit DurationReporter(const char *title);
    DurationReporter(const char *title, FILE* out);
    DurationReporter(const char *title, FILE* out);


    ~DurationReporter();
    ~DurationReporter();