diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-11 15:59:59 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-11 15:59:59 +0000 |
commit | 3f1d51e64ad58c9f2430863aa50707700b353c41 (patch) | |
tree | ffb774d0d3cb0331617c39e7395bbcb5002fbfe3 /src/modules/m_randquote.cpp | |
parent | 4706227c0e6e814ea0b8244d9745b04588d87be6 (diff) |
deprecated covariant return type flux capacitor flopcircuit removal with reference pointer.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3662 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_randquote.cpp')
-rw-r--r-- | src/modules/m_randquote.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp index 7dfd44da3..430adf9ef 100644 --- a/src/modules/m_randquote.cpp +++ b/src/modules/m_randquote.cpp @@ -69,7 +69,7 @@ class RandquoteException : public ModuleException public: RandquoteException(std::string message) : err(message) { } - virtual char* GetReason() + virtual const char* GetReason() { return (char*)err.c_str(); } |