Reverted some external template declarations

pull/1234/head
gabime 6 years ago
parent e7ab49c973
commit 2fed68a73b

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

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

@ -22,8 +22,5 @@
// 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 class spdlog::details::circular_q<spdlog::details::log_msg_buffer>;
template class spdlog::sinks::base_sink<std::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>;
Loading…
Cancel
Save