Skip to content

Commit

Permalink
Merge pull request #2336 from aengusjiang/v1.x
Browse files Browse the repository at this point in the history
[issues/2332]clean code, clean up the warning
  • Loading branch information
gabime authored Apr 21, 2022
2 parents 4ccbb5a + 184fae0 commit 78fbc69
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/async.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@
#include <spdlog/details/periodic_worker-inl.h>
#include <spdlog/details/thread_pool-inl.h>

template class SPDLOG_API spdlog::details::mpmc_blocking_queue<spdlog::details::async_msg>;
/*
* comment the declaration for the warning: type attributes ignored after type is already defined [-Wattributes]
*/
//template class SPDLOG_API spdlog::details::mpmc_blocking_queue<spdlog::details::async_msg>;

0 comments on commit 78fbc69

Please sign in to comment.