Fix google-explicit-constructor warnings in system/vold.
Bug: 28341362 Change-Id: I14344b0cba134570bf87e7d61aa03503735dd794 Test: build with WITH_TIDY=1
This commit is contained in:
parent
e24d4eef9b
commit
a4353671b1
4 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
class NetlinkHandler: public NetlinkListener {
|
||||
|
||||
public:
|
||||
NetlinkHandler(int listenerSocket);
|
||||
explicit NetlinkHandler(int listenerSocket);
|
||||
virtual ~NetlinkHandler();
|
||||
|
||||
int start(void);
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace vold {
|
|||
|
||||
class TrimTask {
|
||||
public:
|
||||
TrimTask(int flags);
|
||||
explicit TrimTask(int flags);
|
||||
virtual ~TrimTask();
|
||||
|
||||
enum Flags {
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
class VoldCommand : public FrameworkCommand {
|
||||
public:
|
||||
VoldCommand(const char *cmd);
|
||||
explicit VoldCommand(const char *cmd);
|
||||
virtual ~VoldCommand() {}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue