diff options
| author | 2018-12-20 20:23:01 -0800 | |
|---|---|---|
| committer | 2018-12-20 20:23:01 -0800 | |
| commit | e7cc7dd9ef3078f1cce6c570d388be3c17f6b204 (patch) | |
| tree | 483d02b2be4b025de1d0af1898e5baade6fef6c3 /cmds/dumpstate/DumpstateUtil.h | |
| parent | cf525d0b76ef763f0008e3ca6e2b84e4ea684b05 (diff) | |
| parent | dab0fc8229ba6cd5d3c5bbfdcf5d539cdee22122 (diff) | |
Merge "Fix/suppress google-explicit-constructor warnings"
am: dab0fc8229
Change-Id: I7203d0257d3430fb4ea6905f273328c15647d7b9
Diffstat (limited to 'cmds/dumpstate/DumpstateUtil.h')
| -rw-r--r-- | cmds/dumpstate/DumpstateUtil.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmds/dumpstate/DumpstateUtil.h b/cmds/dumpstate/DumpstateUtil.h index d69ffbfc98..d75b08c046 100644 --- a/cmds/dumpstate/DumpstateUtil.h +++ b/cmds/dumpstate/DumpstateUtil.h @@ -76,7 +76,7 @@ class CommandOptions { private: class CommandOptionsValues { private: - CommandOptionsValues(int64_t timeout_ms); + explicit CommandOptionsValues(int64_t timeout_ms); int64_t timeout_ms_; bool always_; @@ -88,7 +88,7 @@ class CommandOptions { friend class CommandOptionsBuilder; }; - CommandOptions(const CommandOptionsValues& values); + explicit CommandOptions(const CommandOptionsValues& values); const CommandOptionsValues values; @@ -119,7 +119,7 @@ class CommandOptions { CommandOptions Build(); private: - CommandOptionsBuilder(int64_t timeout_ms); + explicit CommandOptionsBuilder(int64_t timeout_ms); CommandOptionsValues values; friend class CommandOptions; }; |