summaryrefslogtreecommitdiff
path: root/src/Exception.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-11-14 07:17:55 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-11-14 07:17:55 +0000
commit1372ac51ade17bc27126449bf29f99c6c2cf7703 (patch)
tree974a54b86b20555c8822f651c7b3a53c0a072df3 /src/Exception.cc
parent93e5dbed325f29c1bf867a2847d3b839d545cfb2 (diff)
2010-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added .cc file for classes/structs that only provided by header file. Defined non-POD classes' ctor, dtor in .cc file. Moved implementation code in header file to .cc file for major classes/strucsts.
Diffstat (limited to 'src/Exception.cc')
-rw-r--r--src/Exception.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Exception.cc b/src/Exception.cc
index 567d39a3..5b93242f 100644
--- a/src/Exception.cc
+++ b/src/Exception.cc
@@ -72,4 +72,9 @@ std::string Exception::stackTrace() const
return s.str();
}
+const char* Exception::what() const throw()
+{
+ return msg_.c_str();
+}
+
} // namespace aria2