summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-22 19:25:21 +0000
committerSadie Powell <sadie@witchery.services>2024-01-22 20:06:57 +0000
commit1467de1c7ee03d393a62f57e54e564bd0462d758 (patch)
treefba25ea2a8023828687b8e1280cb084e41cb55b3 /include/config.h
parentc5023fdfa06a3b7c49d5320bd0a08f503989977f (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/config.h')
-rw-r--r--include/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index cc472faa7..7a032d7e9 100644
--- a/include/config.h
+++ b/include/config.h
@@ -171,7 +171,7 @@ namespace Configuration
* be loaded. If this happens, the error message returned by ModuleException::GetReason will be displayed to the user
* attempting to load the module, or dumped to the console if the ircd is currently loading for the first time.
*/
-class ConfigException : public CoreException
+class CoreExport ConfigException : public CoreException
{
public:
/** Default constructor, just uses the error message 'Config threw an exception'.