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:
@@ -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) { }
|
||||
|
||||
Reference in New Issue
Block a user