diff options
author | 2023-05-23 00:01:06 +0000 | |
---|---|---|
committer | 2023-05-23 00:01:06 +0000 | |
commit | 265e9e2841b4fe3b49dc365a7a2a70e3e62376a6 (patch) | |
tree | 91118c67fa4e1f07901116a8d3f754bf2a9897d4 | |
parent | e4bd4a880c422e6e899e608a6f3dc60f7cb9506f (diff) | |
parent | 5255c97174dfacd6553aa0e1b4a70c925264eab5 (diff) |
Merge "libbinder: save space for optional config options."
-rw-r--r-- | libs/binder/Binder.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/binder/Binder.cpp b/libs/binder/Binder.cpp index 3e49656575..0f4a6cabde 100644 --- a/libs/binder/Binder.cpp +++ b/libs/binder/Binder.cpp @@ -58,15 +58,15 @@ static_assert(sizeof(BBinder) == 20); // global b/c b/230079120 - consistent symbol table #ifdef BINDER_RPC_DEV_SERVERS -bool kEnableRpcDevServers = true; +constexpr bool kEnableRpcDevServers = true; #else -bool kEnableRpcDevServers = false; +constexpr bool kEnableRpcDevServers = false; #endif #ifdef BINDER_ENABLE_RECORDING -bool kEnableRecording = true; +constexpr bool kEnableRecording = true; #else -bool kEnableRecording = false; +constexpr bool kEnableRecording = false; #endif // Log any reply transactions for which the data exceeds this size |