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.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.h')
-rw-r--r-- | include/modules.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h index b32847487..94bde45aa 100644 --- a/include/modules.h +++ b/include/modules.h @@ -196,7 +196,7 @@ public: int GetPatch() const; }; -class NotImplementedException : public CoreException { }; +class CoreExport NotImplementedException : public CoreException { }; /** Every module in Anope is actually a class. */ |