提交 8aefc304 编写于 作者: Y Yu Yang

Fix compile error.

上级 741637eb
......@@ -52,9 +52,9 @@ public:
*/
template <typename... ARGS>
inline void setByPrintf(const char* fmt, ARGS... args) noexcept {
constexpr size_t bufferSize = 4096;
char buffer[bufferSize];
snprintf(buffer, bufferSize, fmt, args...);
constexpr size_t kBufferSize = 4096;
char buffer[kBufferSize];
snprintf(buffer, kBufferSize, fmt, args...);
errMsg_.reset(new std::string(buffer));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册