Merge pull request #786 from rajesh-p/v1.x

Namespace fix  for the issue 785
This commit is contained in:
Gabi Melman 2018-08-10 09:45:31 +03:00 committed by GitHub
commit f8f2d7b950
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,11 +43,11 @@ protected:
fmt::memory_buffer formatted; fmt::memory_buffer formatted;
if (use_raw_msg_) if (use_raw_msg_)
{ {
fmt_helper::append_buf(msg.raw, formatted); details::fmt_helper::append_buf(msg.raw, formatted);
} }
else else
{ {
formatter_->format(msg, formatted); sink::formatter_->format(msg, formatted);
} }
formatted.push_back('\0'); formatted.push_back('\0');
const char *msg_output = formatted.data(); const char *msg_output = formatted.data();