提交 3deb6c1f 编写于 作者: F felixhjh

remove redundant C++ '/'

上级 9322cac9
...@@ -138,7 +138,7 @@ int main(int argc, char** argv) { ...@@ -138,7 +138,7 @@ int main(int argc, char** argv) {
g_change_server_port(); g_change_server_port();
std::string base_log_path = ""; std::string base_log_path = "";
if (const char* serving_log_path = std::getenv("SERVING_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 // initialize logger instance
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册