tests/lib/conds: store triggers in a vector
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 20 Mar 2024 21:10:30 +0000 (17:10 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 26 Mar 2024 18:56:36 +0000 (14:56 -0400)
commit25fe6ea5b2626380612aeb0db1a9fa71d3c53952
treead0d271ded44d789b5b11eb774a514326bfe2875
parent4ad4365795e89089c88b28c483bb19fe77091632
tests/lib/conds: store triggers in a vector

An upcoming patch needs to dynamically create and append triggers to the
trigger list.  Make the container a vector.  For simplicity, update
`condMain` to take a reference to a vector of unique pointers of
triggers (rather than inventing some abstraction).

Change-Id: Ic5e2fe6da151434ec515c041d4e1096193d29221
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12115
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
tests/lib/conds/conds-triggers.cpp
tests/lib/conds/utils.cpp
tests/lib/conds/utils.hpp
This page took 0.024469 seconds and 4 git commands to generate.