Fix: cpp-common/bt2: make QueryExecutor take ConstValue params
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 31 May 2024 16:32:14 +0000 (12:32 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 4 Sep 2024 19:05:14 +0000 (15:05 -0400)
commite17788b9ac90c5121b41a2f2099f50ac89cec27b
treeeccf9a2b9c134378ea35345fe5cb14323cbce653
parentfacfc96a839627fc82fccd1d5cdf5c998669dd41
Fix: cpp-common/bt2: make QueryExecutor take ConstValue params

Query executors can take values of any kind, not specifically map
values.  From the doc [1]:

    Unlike the params parameter of the
    bt_graph_add_*_component_*_port_added_listener() functions (see
    Graph), this parameter does not need to be a map value.

Change `ConstMapValue` to `ConstValue`.

[1] https://babeltrace.org/docs/v2.0/libbabeltrace2/group__api-qexec.html#gafb5d324988c2870d66d96c1eeda6f87a

Change-Id: I370182c4aa5df8957c025f59018e359463674156
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12829
CI-Build: Simon Marchi <simon.marchi@efficios.com>
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/cpp-common/bt2/query-executor.hpp
This page took 0.024169 seconds and 4 git commands to generate.