diff --git a/include/spdlog/common.h b/include/spdlog/common.h index ab6bbf3dd7..34ee220179 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -370,7 +370,7 @@ struct Field { using F=Field; namespace details { - class context_data; + struct context_data; SPDLOG_API std::shared_ptr& threadlocal_context_head(); }