Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34cd60f0 authored by Josh Gao's avatar Josh Gao
Browse files

adb: mark kMaxProcessNameLength as constexpr.

Otherwise, the build fails with -O0.

Test: mma with -O0 in adb_defaults
Change-Id: Id10e320afc183eda5b46555b3b50dd8ffd84a700
parent 0e778dc7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;