From 9f35df1ad1599f62f040261fec821b703a3643af Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 14 Nov 2006 18:50:50 +0000 Subject: Inherit ModuleException from std::exception rather than classbase git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5740 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_randquote.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/modules/m_randquote.cpp') diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp index 7354420a9..35fb02085 100644 --- a/src/modules/m_randquote.cpp +++ b/src/modules/m_randquote.cpp @@ -70,6 +70,8 @@ class RandquoteException : public ModuleException public: RandquoteException(const std::string &message) : err(message) { } + ~RandquoteException() throw () { } + virtual const char* GetReason() { return err.c_str(); -- cgit v1.2.3