From c27098d4677cb5d71a40060551f774b8a3a8afaa Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Wed, 29 Jun 2016 15:01:19 -0700 Subject: Fix google-explicit-constructor warnings in bootable/recovery. Bug: 28341362 Change-Id: I4c3ab0ad0f62f8f3a6f3b30771010533a2739381 Test: build with clang-tidy --- device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device.h b/device.h index f74b6b047..e0a3ff795 100644 --- a/device.h +++ b/device.h @@ -21,7 +21,7 @@ class Device { public: - Device(RecoveryUI* ui) : ui_(ui) { } + explicit Device(RecoveryUI* ui) : ui_(ui) { } virtual ~Device() { } // Called to obtain the UI object that should be used to display -- cgit v1.2.3