summaryrefslogtreecommitdiff
path: root/cmds/dumpstate/dumpstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmds/dumpstate/dumpstate.h')
-rw-r--r--cmds/dumpstate/dumpstate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmds/dumpstate/dumpstate.h b/cmds/dumpstate/dumpstate.h
index ee952d99d5..7ac25e42f0 100644
--- a/cmds/dumpstate/dumpstate.h
+++ b/cmds/dumpstate/dumpstate.h
@@ -72,7 +72,7 @@ extern "C" {
*/
class DurationReporter {
public:
- DurationReporter(const std::string& title, bool log_only = false);
+ explicit DurationReporter(const std::string& title, bool log_only = false);
~DurationReporter();
@@ -111,7 +111,7 @@ class Progress {
*/
static const int kDefaultMax;
- Progress(const std::string& path = "");
+ explicit Progress(const std::string& path = "");
// Gets the current progress.
int32_t Get() const;
@@ -447,7 +447,7 @@ class Dumpstate {
private:
// Used by GetInstance() only.
- Dumpstate(const std::string& version = VERSION_CURRENT);
+ explicit Dumpstate(const std::string& version = VERSION_CURRENT);
DISALLOW_COPY_AND_ASSIGN(Dumpstate);
};