diff options
author | Chih-Hung Hsieh <chh@google.com> | 2020-03-04 10:58:29 -0800 |
---|---|---|
committer | Chih-hung Hsieh <chh@google.com> | 2020-03-05 18:25:57 +0000 |
commit | 310432e7c8b36a2d112376fb76369d4c2487763d (patch) | |
tree | ee844789b7f86c66e6877c6110c6376cb6fdd7a7 /libnativeloader/native_loader_lazy.cpp | |
parent | 7f43595d5884497d874cfafe40030e9891b8d7d6 (diff) |
Fix bugprone-macro-parentheses warnings
Bug: 150783705
Test: WITH_TIDY=1 make
Change-Id: If8462783e9e15d46a48004285ced2a0e04d27b42
Diffstat (limited to 'libnativeloader/native_loader_lazy.cpp')
-rw-r--r-- | libnativeloader/native_loader_lazy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnativeloader/native_loader_lazy.cpp b/libnativeloader/native_loader_lazy.cpp index 2eb1203796..05d339abf9 100644 --- a/libnativeloader/native_loader_lazy.cpp +++ b/libnativeloader/native_loader_lazy.cpp @@ -40,7 +40,7 @@ FuncPtr GetFuncPtr(const char* function_name) { return f; } -#define GET_FUNC_PTR(name) GetFuncPtr<decltype(&name)>(#name) +#define GET_FUNC_PTR(name) GetFuncPtr<decltype(&(name))>(#name) } // namespace |