adb: mark kMaxProcessNameLength as constexpr.
Otherwise, the build fails with -O0. Test: mma with -O0 in adb_defaults Change-Id: Id10e320afc183eda5b46555b3b50dd8ffd84a700
This commit is contained in:
parent
0e778dc794
commit
34cd60f075
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@
|
|||
#include <string>
|
||||
|
||||
struct ProcessInfo {
|
||||
const static size_t kMaxArchNameLength = 16;
|
||||
static constexpr size_t kMaxArchNameLength = 16;
|
||||
|
||||
uint64_t pid;
|
||||
bool debuggable;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue