commit | 310432e7c8b36a2d112376fb76369d4c2487763d | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Wed Mar 04 10:58:29 2020 -0800 |
committer | Chih-hung Hsieh <chh@google.com> | Thu Mar 05 18:25:57 2020 +0000 |
tree | ee844789b7f86c66e6877c6110c6376cb6fdd7a7 | |
parent | 7f43595d5884497d874cfafe40030e9891b8d7d6 [diff] [blame] |
Fix bugprone-macro-parentheses warnings Bug: 150783705 Test: WITH_TIDY=1 make Change-Id: If8462783e9e15d46a48004285ced2a0e04d27b42
diff --git a/libnativebridge/native_bridge_lazy.cc b/libnativebridge/native_bridge_lazy.cc index edc7848..b3f4ada 100644 --- a/libnativebridge/native_bridge_lazy.cc +++ b/libnativebridge/native_bridge_lazy.cc
@@ -40,7 +40,7 @@ return f; } -#define GET_FUNC_PTR(name) GetFuncPtr<decltype(&name)>(#name) +#define GET_FUNC_PTR(name) GetFuncPtr<decltype(&(name))>(#name) } // namespace