src.ctf.fs: make ctf_fs_component::trace a unique_ptr
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 8 Jun 2022 17:50:27 +0000 (13:50 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 23 Aug 2022 16:06:16 +0000 (12:06 -0400)
commit86285034a826b6ecbf500bf42c526e7d8993149c
tree84a62184510cec4020334fd06bc064307c673da6
parent29abf5bf83a407aa020e3449c50394f3ce69288c
src.ctf.fs: make ctf_fs_component::trace a unique_ptr

Define ctf_fs_trace::UP to be a unique_ptr type with a deleter that
calls ctf_fs_trace_destroy (the custom deleter will go away once
ctf_fs_trace is properly destructible).  Change ctf_fs_component::trace
to be of this type.

Change-Id: Iaf8111922b320781d7e9333bcdc5db129192509d
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/8240
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/plugins/ctf/fs-src/fs.cpp
src/plugins/ctf/fs-src/fs.hpp
src/plugins/ctf/fs-src/query.cpp
This page took 0.025447 seconds and 5 git commands to generate.