Fix some more pedantic compiler warnings.
Argument name shadows field name.
Lack of case statements for kMips64.
Change-Id: Ib3ca16f79a4d44ae80ef32f22cc79cbe9527f4f1
diff --git a/runtime/base/logging.h b/runtime/base/logging.h
index caeb946..cf3e763 100644
--- a/runtime/base/logging.h
+++ b/runtime/base/logging.h
@@ -151,7 +151,7 @@
template <typename LHS, typename RHS>
struct EagerEvaluator {
- EagerEvaluator(LHS lhs, RHS rhs) : lhs(lhs), rhs(rhs) { }
+ EagerEvaluator(LHS l, RHS r) : lhs(l), rhs(r) { }
LHS lhs;
RHS rhs;
};
@@ -163,9 +163,9 @@
// protect you against combinations not explicitly listed below.
#define EAGER_PTR_EVALUATOR(T1, T2) \
template <> struct EagerEvaluator<T1, T2> { \
- EagerEvaluator(T1 lhs, T2 rhs) \
- : lhs(reinterpret_cast<const void*>(lhs)), \
- rhs(reinterpret_cast<const void*>(rhs)) { } \
+ EagerEvaluator(T1 l, T2 r) \
+ : lhs(reinterpret_cast<const void*>(l)), \
+ rhs(reinterpret_cast<const void*>(r)) { } \
const void* lhs; \
const void* rhs; \
}