From 65b171553909854db55516b7a2bc3633ea4ef16a Mon Sep 17 00:00:00 2001 From: An Tao Date: Sun, 16 Apr 2023 13:42:46 +0800 Subject: [PATCH] Add the DROGON_EXPORT macro to the GlobalFilters plugin (#1565) --- lib/inc/drogon/plugins/GlobalFilters.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/inc/drogon/plugins/GlobalFilters.h b/lib/inc/drogon/plugins/GlobalFilters.h index 4ee99403..5d882309 100644 --- a/lib/inc/drogon/plugins/GlobalFilters.h +++ b/lib/inc/drogon/plugins/GlobalFilters.h @@ -34,8 +34,9 @@ namespace plugin @endcode * */ -class GlobalFilters : public drogon::Plugin, - public std::enable_shared_from_this +class DROGON_EXPORT GlobalFilters + : public drogon::Plugin, + public std::enable_shared_from_this { public: GlobalFilters() = default;