src.ctf.fs: make ctf_msg_iter_create return a unique_ptr
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 9 Apr 2024 20:36:45 +0000 (16:36 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 17 Apr 2024 17:57:53 +0000 (13:57 -0400)
commit657f1bd6d2c318865e910a3770b492dd0690c2a3
treef6db1d12e8832e25b43b38d6d777ecaade263b73
parent57ec0a3533f05546d9988deca01ee6e3695357a9
src.ctf.fs: make ctf_msg_iter_create return a unique_ptr

Introduce ctf_msg_iter_up, a unique_ptr type with a deleter that calls
ctf_msg_iter_destroy.  Make ctf_msg_iter_create return that.

Change-Id: Ibba15a84c58804a88f18c6ed47b9197fe46541b3
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/8275
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12313
Tested-by: jenkins <jenkins@lttng.org>
src/plugins/ctf/common/src/msg-iter/msg-iter.cpp
src/plugins/ctf/common/src/msg-iter/msg-iter.hpp
src/plugins/ctf/fs-src/fs.cpp
src/plugins/ctf/lttng-live/data-stream.cpp
This page took 0.024044 seconds and 4 git commands to generate.