X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d15605f0ec704a59399fb71e6c145c72c4a9f1b0..745a5ade14924e2b2684a280e4cb75a9c1d3bee7:/src/xbt/backtrace.cpp diff --git a/src/xbt/backtrace.cpp b/src/xbt/backtrace.cpp index c2ceee4268..837062a9a6 100644 --- a/src/xbt/backtrace.cpp +++ b/src/xbt/backtrace.cpp @@ -46,8 +46,8 @@ std::unique_ptr> demangle(const char* name) { #ifdef __GXX_ABI_VERSION int status; - auto res = std::unique_ptr>(abi::__cxa_demangle(name, nullptr, nullptr, &status), - &std::free); + std::unique_ptr> res(abi::__cxa_demangle(name, nullptr, nullptr, &status), + &std::free); if (res != nullptr) return res; // We did not manage to resolve this. Probably because this is not a mangled symbol: