From 3deb6c1f86c271ef81e9be3b9e9ecb35e797c947 Mon Sep 17 00:00:00 2001 From: felixhjh <852142024@qq.com> Date: Mon, 17 Jan 2022 06:52:24 +0000 Subject: [PATCH] remove redundant C++ '/' --- core/predictor/src/pdserving.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/predictor/src/pdserving.cpp b/core/predictor/src/pdserving.cpp index 1165d672..bc628098 100644 --- a/core/predictor/src/pdserving.cpp +++ b/core/predictor/src/pdserving.cpp @@ -138,7 +138,7 @@ int main(int argc, char** argv) { g_change_server_port(); std::string base_log_path = ""; if (const char* serving_log_path = std::getenv("SERVING_LOG_PATH")) { - base_log_path = serving_log_path + '/'; + base_log_path = serving_log_path; } // initialize logger instance -- GitLab