Fix google-explicit-constructor warnings in system/vold.

Bug: 28341362
Change-Id: I14344b0cba134570bf87e7d61aa03503735dd794
Test: build with WITH_TIDY=1
This commit is contained in:
Chih-Hung Hsieh 2016-08-02 11:41:54 -07:00
parent e24d4eef9b
commit a4353671b1
4 changed files with 4 additions and 4 deletions

View file

@ -37,7 +37,7 @@ namespace vold {
*/
class EmulatedVolume : public VolumeBase {
public:
EmulatedVolume(const std::string& rawPath);
explicit EmulatedVolume(const std::string& rawPath);
EmulatedVolume(const std::string& rawPath, dev_t device, const std::string& fsUuid);
virtual ~EmulatedVolume();

View file

@ -22,7 +22,7 @@
class NetlinkHandler: public NetlinkListener {
public:
NetlinkHandler(int listenerSocket);
explicit NetlinkHandler(int listenerSocket);
virtual ~NetlinkHandler();
int start(void);

View file

@ -27,7 +27,7 @@ namespace vold {
class TrimTask {
public:
TrimTask(int flags);
explicit TrimTask(int flags);
virtual ~TrimTask();
enum Flags {

View file

@ -21,7 +21,7 @@
class VoldCommand : public FrameworkCommand {
public:
VoldCommand(const char *cmd);
explicit VoldCommand(const char *cmd);
virtual ~VoldCommand() {}
};