diff options
author | John Wiegley <johnw@newartisans.com> | 2004-07-29 01:50:40 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-07-29 01:50:40 -0400 |
commit | c598550d50b23f80b3481e831d5a3261b0800e79 (patch) | |
tree | 47c2da07452be84fe4b9dabb8a75e349c1f38b50 | |
parent | 6215627935ddbfbd9a325f98e197511d2b7235b1 (diff) | |
download | ledger-c598550d50b23f80b3481e831d5a3261b0800e79.tar.gz ledger-c598550d50b23f80b3481e831d5a3261b0800e79.tar.bz2 ledger-c598550d50b23f80b3481e831d5a3261b0800e79.zip |
call c_str()
-rw-r--r-- | error.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ class error : public std::exception virtual ~error() throw() {} virtual const char* what() const throw() { - return reason; + return reason.c_str(); } }; |