Reverted some external template declarations

This commit is contained in:
gabime 2019-09-20 01:52:05 +03:00
parent e7ab49c973
commit 2fed68a73b
3 changed files with 1 additions and 9 deletions

View File

@ -243,7 +243,4 @@ std::unique_ptr<T> make_unique(Args &&... args)
#ifdef SPDLOG_HEADER_ONLY #ifdef SPDLOG_HEADER_ONLY
#include "common-inl.h" #include "common-inl.h"
#else
extern template class fmt::basic_string_view<char>;
extern template class fmt::basic_memory_buffer<char, 250>;
#endif #endif

View File

@ -43,6 +43,4 @@ public:
#ifdef SPDLOG_HEADER_ONLY #ifdef SPDLOG_HEADER_ONLY
#include "backtracer-inl.h" #include "backtracer-inl.h"
#else
extern template class spdlog::details::circular_q<spdlog::details::log_msg_buffer>;
#endif #endif

View File

@ -22,8 +22,5 @@
// template instantiate logger constructor with sinks init list // template instantiate logger constructor with sinks init list
template spdlog::logger::logger(std::string name, sinks_init_list::iterator begin, sinks_init_list::iterator end); template spdlog::logger::logger(std::string name, sinks_init_list::iterator begin, sinks_init_list::iterator end);
template class spdlog::details::circular_q<spdlog::details::log_msg_buffer>;
template class spdlog::sinks::base_sink<std::mutex>; template class spdlog::sinks::base_sink<std::mutex>;
template class spdlog::sinks::base_sink<spdlog::details::null_mutex>; template class spdlog::sinks::base_sink<spdlog::details::null_mutex>;
template class fmt::basic_string_view<char>;
template class fmt::basic_memory_buffer<char, 250>;