summaryrefslogtreecommitdiffstats
path: root/compiler/utils/array_ref.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-03 21:36:10 -0800
committerAndreas Gampe <agampe@google.com>2014-11-04 18:40:08 -0800
commit277ccbd200ea43590dfc06a93ae184a765327ad0 (patch)
treed89712e93da5fb2748989353c9ee071102cf3f33 /compiler/utils/array_ref.h
parentad17d41841ba1fb177fb0bf175ec0e9f5e1412b3 (diff)
downloadandroid_art-277ccbd200ea43590dfc06a93ae184a765327ad0.tar.gz
android_art-277ccbd200ea43590dfc06a93ae184a765327ad0.tar.bz2
android_art-277ccbd200ea43590dfc06a93ae184a765327ad0.zip
ART: More warnings
Enable -Wno-conversion-null, -Wredundant-decls and -Wshadow in general, and -Wunused-but-set-parameter for GCC builds. Change-Id: I81bbdd762213444673c65d85edae594a523836e5
Diffstat (limited to 'compiler/utils/array_ref.h')
-rw-r--r--compiler/utils/array_ref.h4
1 files changed, 2 insertions, 2 deletions
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 <typename Alloc>