src.ctf.fs: make ctf_fs_file_create return a unique_ptr
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 5 Apr 2024 19:45:51 +0000 (15:45 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 17 Apr 2024 17:57:53 +0000 (13:57 -0400)
commit5ff12b250802d3e0d527f6a5d4c61f4d15e50294
treec45352d9e067422f39d66e5cbf03616df94e9615
parent97601f8e13a3a03808944e229c3a6acdd173d1df
src.ctf.fs: make ctf_fs_file_create return a unique_ptr

Introduce ctf_fs_file::UP, make ctf_fs_file_create return that, adjust
impacted callers.

Change-Id: Ice241fd596af3d54e9c7bc7f562ca010bb5833aa
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/8260
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12298
src/plugins/ctf/fs-src/data-stream-file.cpp
src/plugins/ctf/fs-src/file.cpp
src/plugins/ctf/fs-src/file.hpp
src/plugins/ctf/fs-src/fs.cpp
src/plugins/ctf/fs-src/metadata.cpp
This page took 0.024641 seconds and 4 git commands to generate.