From 398d674cf40c0dba4e4cd2edd0f325ace15128c2 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 23 Jan 2024 14:02:34 +0000 Subject: [PATCH] Fix some CoreExport types that should be DllExport. --- include/modules/ldap.h | 2 +- include/modules/sql.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/modules/ldap.h b/include/modules/ldap.h index b1589a18c..166e85fe9 100644 --- a/include/modules/ldap.h +++ b/include/modules/ldap.h @@ -8,7 +8,7 @@ #pragma once -class CoreExport LDAPException : public ModuleException +class DllExport LDAPException : public ModuleException { public: LDAPException(const Anope::string &reason) : ModuleException(reason) { } diff --git a/include/modules/sql.h b/include/modules/sql.h index 8eaf56c9a..0f2abc812 100644 --- a/include/modules/sql.h +++ b/include/modules/sql.h @@ -81,7 +81,7 @@ namespace SQL /** A SQL exception, can be thrown at various points */ - class CoreExport Exception : public ModuleException + class DllExport Exception : public ModuleException { public: Exception(const Anope::string &reason) : ModuleException(reason) { }