From 184fae06d70b7f20f7e9753296aa9c94ec28717a Mon Sep 17 00:00:00 2001 From: "Aengus.Jiang" Date: Sun, 10 Apr 2022 13:13:59 +0800 Subject: [PATCH] clean code, clean up the warning --- src/async.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/async.cpp b/src/async.cpp index b7443dfc..b49af63e 100644 --- a/src/async.cpp +++ b/src/async.cpp @@ -10,4 +10,7 @@ #include #include -template class SPDLOG_API spdlog::details::mpmc_blocking_queue; +/* + * comment the declaration for the warning: type attributes ignored after type is already defined [-Wattributes] + */ +//template class SPDLOG_API spdlog::details::mpmc_blocking_queue;