From 8d819cd3f5d9cc468b5dd1eb842daf4c6353c75b Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 3 May 2018 20:08:24 -0700 Subject: [PATCH] ircd::log: Minor cleanup. --- ircd/logger.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/logger.cc b/ircd/logger.cc index cc087c627..ccf7e2adb 100644 --- a/ircd/logger.cc +++ b/ircd/logger.cc @@ -448,7 +448,7 @@ noexcept // Compose the prefix sequence into the buffer through stringstream std::stringstream s; - s.rdbuf()->pubsetbuf(buf, max); + pubsetbuf(s, buf); s << microtime(date) << ' ' << (console_ansi[fac]? console_ansi[fac] : "")