Merge "Fix misc-macro-parentheses warnings in libs/binder."
am: 44d29d4d07
* commit '44d29d4d07a1262afaf84374ef136e30f24f491d':
Fix misc-macro-parentheses warnings in libs/binder.
Change-Id: I4619aac41c494bd01dd5ffa8279853ecf8719709
diff --git a/libs/binder/PersistableBundle.cpp b/libs/binder/PersistableBundle.cpp
index a20359f..5c5651c 100644
--- a/libs/binder/PersistableBundle.cpp
+++ b/libs/binder/PersistableBundle.cpp
@@ -91,7 +91,7 @@
#define RETURN_IF_ENTRY_ERASED(map, key) \
{ \
- size_t num_erased = map.erase(key); \
+ size_t num_erased = (map).erase(key); \
if (num_erased) { \
ALOGE("Failed at %s:%d (%s)", __FILE__, __LINE__, __func__); \
return num_erased; \