修复上一次提交的BUG:+= --> =

This commit is contained in:
gb 2023-08-16 18:42:41 +08:00
parent 68a07dd024
commit 5f47f3d7c4
1 changed files with 1 additions and 1 deletions

View File

@ -633,7 +633,7 @@ bool usb_io::make_singleton(void)
if (pos != std::string::npos) if (pos != std::string::npos)
tips.replace(pos, 2, str); tips.replace(pos, 2, str);
str += std::move(tips); str = std::move(tips);
init_err_msg_ = str; init_err_msg_ = str;
VLOG_MINI_1(LOG_LEVEL_FATAL, "Open failed: %s\n", str.c_str()); VLOG_MINI_1(LOG_LEVEL_FATAL, "Open failed: %s\n", str.c_str());