From 277ccbd200ea43590dfc06a93ae184a765327ad0 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Mon, 3 Nov 2014 21:36:10 -0800 Subject: ART: More warnings Enable -Wno-conversion-null, -Wredundant-decls and -Wshadow in general, and -Wunused-but-set-parameter for GCC builds. Change-Id: I81bbdd762213444673c65d85edae594a523836e5 --- compiler/utils/array_ref.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/utils/array_ref.h') diff --git a/compiler/utils/array_ref.h b/compiler/utils/array_ref.h index c137e46804..1a7f2e8c02 100644 --- a/compiler/utils/array_ref.h +++ b/compiler/utils/array_ref.h @@ -73,8 +73,8 @@ class ArrayRef { : array_(array), size_(size) { } - constexpr ArrayRef(T* array, size_t size) - : array_(array), size_(size) { + constexpr ArrayRef(T* array_in, size_t size_in) + : array_(array_in), size_(size_in) { } template -- cgit v1.2.3