aboutsummaryrefslogtreecommitdiff
path: root/daemon/gpio_driver_sysfs.h
diff options
context:
space:
mode:
authorBin Chen <pierr.chen@gmail.com>2016-08-19 19:37:42 +1000
committerAlex Vakulenko <avakulenko@google.com>2016-08-23 15:00:41 +0000
commit4cfe4e853b4c1c296e0a2fb2d7e6a6777ed03559 (patch)
treefd9dd57b96fd9356b56c6b0f7e2e6b03f7500867 /daemon/gpio_driver_sysfs.h
parent2cb1e573077fec79b80cafc66fdf11b6eef6c1ed (diff)
downloadperipheralmanager-4cfe4e853b4c1c296e0a2fb2d7e6a6777ed03559.tar.gz
Disable implicit conversion
According to Google coding style, need to add explicit keyword for single-argument constructors. Change-Id: I2673b5367e01b8cca9d908cf5fca96f4877e83d3 Signed-off-by: Bin Chen <pierr.chen@gmail.com>
Diffstat (limited to 'daemon/gpio_driver_sysfs.h')
-rw-r--r--daemon/gpio_driver_sysfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gpio_driver_sysfs.h b/daemon/gpio_driver_sysfs.h
index 21e33af..690066a 100644
--- a/daemon/gpio_driver_sysfs.h
+++ b/daemon/gpio_driver_sysfs.h
@@ -27,7 +27,7 @@ namespace android {
class GpioDriverSysfs : public GpioDriverInterface {
public:
- GpioDriverSysfs(void* arg);
+ explicit GpioDriverSysfs(void* arg);
~GpioDriverSysfs();
static std::string Compat() { return "GPIOSYSFS"; }