Add the DROGON_EXPORT macro to the GlobalFilters plugin (#1565)

This commit is contained in:
An Tao 2023-04-16 13:42:46 +08:00 committed by GitHub
parent 4358b71f55
commit 65b1715539
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -34,8 +34,9 @@ namespace plugin
@endcode
*
*/
class GlobalFilters : public drogon::Plugin<GlobalFilters>,
public std::enable_shared_from_this<GlobalFilters>
class DROGON_EXPORT GlobalFilters
: public drogon::Plugin<GlobalFilters>,
public std::enable_shared_from_this<GlobalFilters>
{
public:
GlobalFilters() = default;