commit | 42f6646097d49fa39c48d447db44e6baee0c5f11 | [log] [tgz] |
---|---|---|
author | Yingdi Yu <yuyingdi@gmail.com> | Thu Oct 31 17:38:22 2013 -0700 |
committer | Yingdi Yu <yuyingdi@gmail.com> | Thu Oct 31 17:38:22 2013 -0700 |
tree | 616df3e5a6848eef508e11a015c5b2dd00b13200 | |
parent | 678ca4b4e4e2eb117c7146088fbf279b70a2702c [diff] [blame] |
partially working new chronochat
diff --git a/src/exception.h b/src/exception.h index fbd1812..5cce5aa 100644 --- a/src/exception.h +++ b/src/exception.h
@@ -22,9 +22,10 @@ ~LnException() throw() {} - inline const std::string& - msg() const - {return m_errMsg;} + const char* what() const throw() + { + return m_errMsg.c_str(); + } private: const std::string m_errMsg;