Move the lttng::free util under the lttng::memory namespace
[lttng-tools.git] / src / common / format.hpp
index 07673e7a98166ad9acd5b7d714693be9d3b9b8df..2ba6cef125ab735ae8977c88dde7298c0c889f93 100644 (file)
@@ -36,9 +36,9 @@ struct formatter<std::type_info> : formatter<std::string> {
                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<char, lttng::free>(
+               const auto demangled_name = lttng::make_unique_wrapper<char, lttng::memory::free>(
                        abi::__cxa_demangle(type_info.name(), nullptr, nullptr, &status));
 
                auto it = status == 0 ? formatter<std::string>::format(demangled_name.get(), ctx) :
This page took 0.023871 seconds and 4 git commands to generate.