1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 12:53:14 +02:00

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.
This commit is contained in:
Sadie Powell
2024-01-22 19:25:21 +00:00
parent c5023fdfa0
commit 1467de1c7e
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -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) { }