From 3f73527fa1d34f68f82c82e4444de7a6e7d19695 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 28 Apr 2017 14:23:51 +0300 Subject: service: fix compiler warnings & code style --- um/wrappers/simple/src/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'um/wrappers/simple/src') diff --git a/um/wrappers/simple/src/device.cpp b/um/wrappers/simple/src/device.cpp index 57e6963..2d49ff3 100644 --- a/um/wrappers/simple/src/device.cpp +++ b/um/wrappers/simple/src/device.cpp @@ -13,7 +13,7 @@ namespace libsimple { namespace { - const char* const device_path = "\\\\.\\simple_device1"; + const auto device_path = "\\\\.\\simple_device1"; const auto exchange_ints_ctl_code = CTL_CODE(0x8001, 0x800, METHOD_BUFFERED, FILE_ANY_ACCESS); } -- cgit v1.2.3