summaryrefslogtreecommitdiffstats
path: root/adb/transport_local.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'adb/transport_local.cpp')
-rw-r--r--adb/transport_local.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/adb/transport_local.cpp b/adb/transport_local.cpp
index 4fd483b57..8353d89f2 100644
--- a/adb/transport_local.cpp
+++ b/adb/transport_local.cpp
@@ -187,8 +187,8 @@ static void PollAllLocalPortsForEmulator() {
}
// Retry the disconnected local port for 60 times, and sleep 1 second between two retries.
-constexpr uint32_t LOCAL_PORT_RETRY_COUNT = 60;
-constexpr auto LOCAL_PORT_RETRY_INTERVAL = 1s;
+static constexpr uint32_t LOCAL_PORT_RETRY_COUNT = 60;
+static constexpr auto LOCAL_PORT_RETRY_INTERVAL = 1s;
struct RetryPort {
int port;