diff --git a/include/spdlog/common.h b/include/spdlog/common.h index 432ac624..ddd6fabe 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -243,7 +243,4 @@ std::unique_ptr make_unique(Args &&... args) #ifdef SPDLOG_HEADER_ONLY #include "common-inl.h" -#else -extern template class fmt::basic_string_view; -extern template class fmt::basic_memory_buffer; #endif diff --git a/include/spdlog/details/backtracer.h b/include/spdlog/details/backtracer.h index 60b6022b..cf813fe6 100644 --- a/include/spdlog/details/backtracer.h +++ b/include/spdlog/details/backtracer.h @@ -43,6 +43,4 @@ public: #ifdef SPDLOG_HEADER_ONLY #include "backtracer-inl.h" -#else -extern template class spdlog::details::circular_q; #endif \ No newline at end of file diff --git a/src/spdlog.cpp b/src/spdlog.cpp index aed0e48a..ec183c95 100644 --- a/src/spdlog.cpp +++ b/src/spdlog.cpp @@ -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; template class spdlog::sinks::base_sink; -template class spdlog::sinks::base_sink; -template class fmt::basic_string_view; -template class fmt::basic_memory_buffer; \ No newline at end of file +template class spdlog::sinks::base_sink; \ No newline at end of file