lttng: make session_storage::_array a unique_ptr to array
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 27 Jun 2023 16:39:42 +0000 (12:39 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 27 Jul 2023 18:15:29 +0000 (14:15 -0400)
commita1949b5a1a8efafc3231bb559e3dd42da7c81495
tree98fcf89098b38876ae1759eadbcf51ac6fb4bb2d
parent164bff35f233e2b566344eca0d31b448dbc595aa
lttng: make session_storage::_array a unique_ptr to array

By making this field a unique_ptr of lttng_session[] instead of
lttng_session, we can use the subscript operator on it, making the code
in session_list_operations a bit simpler.

Change-Id: Ic4e441a23be834e68c5af3f4cca2794f86f2f57e
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/utils.hpp
This page took 0.02469 seconds and 4 git commands to generate.