From 034c475931e8e4da54b499c0056121490f029865 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Tue, 12 Jul 2016 13:50:44 -0700 Subject: Fix google-explicit-constructor warnings in system/core. * Declare explicit conversion constructors. * Add NOLINT for implicit conversion constructors. * Fix also some misaligned indendations. Bug: 28341362 Change-Id: Idf911f35923b408d92285cc1a053f382ba08c63e Test: build with clang-tidy --- debuggerd/test/BacktraceMock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debuggerd/test/BacktraceMock.h') diff --git a/debuggerd/test/BacktraceMock.h b/debuggerd/test/BacktraceMock.h index f75534eba..6104f7e0d 100644 --- a/debuggerd/test/BacktraceMock.h +++ b/debuggerd/test/BacktraceMock.h @@ -41,7 +41,7 @@ class BacktraceMapMock : public BacktraceMap { class BacktraceMock : public Backtrace { public: - BacktraceMock(BacktraceMapMock* map) : Backtrace(0, 0, map) { + explicit BacktraceMock(BacktraceMapMock* map) : Backtrace(0, 0, map) { if (map_ == nullptr) { abort(); } -- cgit v1.2.3