From 686df5aa0446babede8b71ceb3b55cdd632c45d0 Mon Sep 17 00:00:00 2001 From: Rao Meng Date: Thu, 6 Jan 2022 09:16:59 +0800 Subject: [PATCH] fix a compiling error --- fmtlog-inl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fmtlog-inl.h b/fmtlog-inl.h index 4828e87..0bf0768 100644 --- a/fmtlog-inl.h +++ b/fmtlog-inl.h @@ -511,7 +511,8 @@ void fmtlogT<_>::vformat_to(char* out, fmt::string_view fmt, fmt::format_args ar } template -fmtlogT<_>::SPSCVarQueueOPT::MsgHeader* fmtlogT<_>::SPSCVarQueueOPT::allocMsg(uint32_t size) { +typename fmtlogT<_>::SPSCVarQueueOPT::MsgHeader* +fmtlogT<_>::SPSCVarQueueOPT::allocMsg(uint32_t size) { return alloc(size); }