Fix: cpp-common/bt2: more specific assertion in `CommonVariantWithIntegerSelectorFiel...
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 13 Mar 2024 15:22:22 +0000 (11:22 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 26 Mar 2024 18:56:36 +0000 (14:56 -0400)
commit5ca48ae961d956ce188ff45b2d2c04127874276a
treeb106f2fb75307113a175a80a439e8e4803ad7678
parent7eb1d0da9928b3bbda8c0dcc3ff1123f94a82d11
Fix: cpp-common/bt2: more specific assertion in `CommonVariantWithIntegerSelectorFieldClass` constructor

It seems like we can check that the field class is not only a variant,
but more specifically a variant with integer selector.

Change-Id: Ib062779d957ba1e859247c891027121479ae3adb
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12051
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/cpp-common/bt2/field-class.hpp
This page took 0.023754 seconds and 4 git commands to generate.