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/regexpr.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/regexpr.h')
-rw-r--r-- | include/regexpr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/regexpr.h b/include/regexpr.h index 2b653ab43..fdb0cce50 100644 --- a/include/regexpr.h +++ b/include/regexpr.h @@ -15,7 +15,7 @@ #include "anope.h" #include "service.h" -class RegexException : public CoreException +class CoreExport RegexException : public CoreException { public: RegexException(const Anope::string &reason = "") : CoreException(reason) { } |