From f1bd9be8a2584dce943a3c3f1d6e2aeb64cc1407 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Fri, 10 May 2019 16:59:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=AF=91=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Android/app/src/main/cpp/test_server.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Android/app/src/main/cpp/test_server.cpp b/Android/app/src/main/cpp/test_server.cpp index e4ff8120..fc5590af 100644 --- a/Android/app/src/main/cpp/test_server.cpp +++ b/Android/app/src/main/cpp/test_server.cpp @@ -57,7 +57,7 @@ namespace Http { const char kPort[] = HTTP_FIELD"port"; #define HTTPS_PORT 8443 const char kSSLPort[] = HTTP_FIELD"sslport"; -onceToken token1([](){ +static onceToken token1([](){ mINI::Instance()[kPort] = HTTP_PORT; mINI::Instance()[kSSLPort] = HTTPS_PORT; },nullptr); @@ -68,7 +68,7 @@ namespace Shell { #define SHELL_FIELD "shell." #define SHELL_PORT 9000 const char kPort[] = SHELL_FIELD"port"; -onceToken token1([](){ +static onceToken token1([](){ mINI::Instance()[kPort] = SHELL_PORT; },nullptr); } //namespace Shell @@ -80,7 +80,7 @@ namespace Rtsp { #define RTSPS_PORT 8322 const char kPort[] = RTSP_FIELD"port"; const char kSSLPort[] = RTSP_FIELD"sslport"; -onceToken token1([](){ +static onceToken token1([](){ mINI::Instance()[kPort] = RTSP_PORT; mINI::Instance()[kSSLPort] = RTSPS_PORT; },nullptr); @@ -92,7 +92,7 @@ namespace Rtmp { #define RTMP_FIELD "rtmp." #define RTMP_PORT 1935 const char kPort[] = RTMP_FIELD"port"; -onceToken token1([](){ +static onceToken token1([](){ mINI::Instance()[kPort] = RTMP_PORT; },nullptr); } //namespace RTMP