From aaee2c978e3cddbc356bd9bcfdf0c32e41482238 Mon Sep 17 00:00:00 2001 From: zhaoyuan Date: Mon, 13 Sep 2021 22:28:30 +0000 Subject: [PATCH] modify codex Signed-off-by: zhaoyuan --- include/appspawn_server.h | 10 +++++----- src/main.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/appspawn_server.h b/include/appspawn_server.h index 5edb77c7..c73cf79f 100644 --- a/include/appspawn_server.h +++ b/include/appspawn_server.h @@ -145,14 +145,14 @@ private: private: const std::string deviceNull_ = "/dev/null"; - std::string socketName_{}; + std::string socketName_ {}; std::shared_ptr socket_ = nullptr; - std::mutex mut_{}; - mutable std::condition_variable dataCond_{}; - std::queue> appQueue_{}; + std::mutex mut_ {}; + mutable std::condition_variable dataCond_ {}; + std::queue> appQueue_ {}; std::function propertyHandler_ = nullptr; std::function errHandlerHook_ = nullptr; - bool isRunning_{}; + bool isRunning_ {}; }; } // namespace AppSpawn } // namespace OHOS diff --git a/src/main.cpp b/src/main.cpp index b6bb8a58..905bfec6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -18,7 +18,7 @@ #include "appspawn_server.h" #include "hilog/log.h" -int main(int argc, char *const argv[]) +int main(int argc, char* const argv[]) { if (argc > 0) { // calculate child process long name size -- Gitee