diff options
author | Sadie Powell <sadie@witchery.services> | 2024-01-22 19:25:21 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-01-22 20:06:57 +0000 |
commit | 1467de1c7ee03d393a62f57e54e564bd0462d758 (patch) | |
tree | fba25ea2a8023828687b8e1280cb084e41cb55b3 /include/modules/sql.h | |
parent | c5023fdfa06a3b7c49d5320bd0a08f503989977f (diff) |
Mark all exception types as CoreExport.
From the GCC docs:
>Exception catching of a user defined type in a binary other than
>the one which threw the exception requires a typeinfo lookup.
Closes #335.
Diffstat (limited to 'include/modules/sql.h')
-rw-r--r-- | include/modules/sql.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules/sql.h b/include/modules/sql.h index 827dd3051..8eaf56c9a 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 Exception : public ModuleException + class CoreExport Exception : public ModuleException { public: Exception(const Anope::string &reason) : ModuleException(reason) { } |