Merge "Fix misc-macro-parentheses warnings in libs/binder." am: 44d29d4d07
am: 26c812f077
* commit '26c812f0774e42d4ab0f90f5448412151bb33367':
Fix misc-macro-parentheses warnings in libs/binder.
Change-Id: I6e9aac1e7373a866b0a5e853d0012a928d9abaa0
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; \