未验证 提交 82163d61 编写于 作者: S sneaxiy 提交者: GitHub

fix std::to_string (#52981)

上级 402f776b
...@@ -43,7 +43,7 @@ std::string GetIPCName() { ...@@ -43,7 +43,7 @@ std::string GetIPCName() {
handle += std::to_string(getpid()); handle += std::to_string(getpid());
#endif #endif
handle += "_"; handle += "_";
handle += counter.fetch_add(1); handle += std::to_string(counter.fetch_add(1));
handle += "_"; handle += "_";
handle += std::to_string(rd()); handle += std::to_string(rd());
return handle; return handle;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册