From 19a5f5df2b90fb2e77ce7dfc47ebdf80611a0c7e Mon Sep 17 00:00:00 2001 From: "wangwenhua1@huawei.com" Date: Wed, 18 Nov 2020 09:20:45 +0800 Subject: [PATCH] error message add format --- inc/framework/common/debug/log.h | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/framework/common/debug/log.h b/inc/framework/common/debug/log.h index 2e5a8566..249271a6 100644 --- a/inc/framework/common/debug/log.h +++ b/inc/framework/common/debug/log.h @@ -276,6 +276,7 @@ std::string FmtToStr(const T &t) { std::string fmt; std::stringstream st; st << "[" << t << "]"; + fmt = st.str(); return fmt; }