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:
Josh Gao 2020-04-22 17:48:43 -07:00
parent 0e778dc794
commit 34cd60f075

View file

@ -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;