summaryrefslogtreecommitdiff
path: root/src/Exception.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-22 01:10:38 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-22 01:10:38 +0900
commit07d270c87e6f9184aea4ca17eb26e466712e8db2 (patch)
tree2dfbaa2e0d2ad0f38cb73098608f7d67a64320f8 /src/Exception.cc
parent126a4bde612eb0e6c48cf2f13ebe3eac45cc71a8 (diff)
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
Diffstat (limited to 'src/Exception.cc')
-rw-r--r--src/Exception.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Exception.cc b/src/Exception.cc
index 1492b59b..8fa7c0bc 100644
--- a/src/Exception.cc
+++ b/src/Exception.cc
@@ -124,7 +124,7 @@ std::string Exception::stackTrace() const
}
s << "errorCode=" << errorCode_ << " ";
s << what() << "\n";
- SharedHandle<Exception> e = cause_;
+ std::shared_ptr<Exception> e = cause_;
while(e) {
s << " -> " << "[" << e->file_ << ":" << e->line_ << "] ";
if(e->getErrNum()) {