X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fformat.hpp;h=2ba6cef125ab735ae8977c88dde7298c0c889f93;hb=303ac4ed4037e45da1976c0951358ec19c5364d0;hp=07673e7a98166ad9acd5b7d714693be9d3b9b8df;hpb=830bc99366f13bfb3d6fc975441aba7388cb7ca1;p=lttng-tools.git diff --git a/src/common/format.hpp b/src/common/format.hpp index 07673e7a9..2ba6cef12 100644 --- a/src/common/format.hpp +++ b/src/common/format.hpp @@ -36,9 +36,9 @@ struct formatter : formatter { int status; /* * The documentation of __cxa_demangle mentions the returned string is allocated - * using malloc (not new), hence the use of lttng::free. + * using malloc (not new), hence the use of lttng::memory::free. */ - const auto demangled_name = lttng::make_unique_wrapper( + const auto demangled_name = lttng::make_unique_wrapper( abi::__cxa_demangle(type_info.name(), nullptr, nullptr, &status)); auto it = status == 0 ? formatter::format(demangled_name.get(), ctx) :