From 07d270c87e6f9184aea4ca17eb26e466712e8db2 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 22 Jun 2013 01:10:38 +0900 Subject: Require -std=c++11 and use std::shared_ptr instead of SharedHandle --- src/Exception.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Exception.cc') 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 e = cause_; + std::shared_ptr e = cause_; while(e) { s << " -> " << "[" << e->file_ << ":" << e->line_ << "] "; if(e->getErrNum()) { -- cgit