Fix: bt2::CommonOptionField::hasField(): use has_value()
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 10 Aug 2022 15:16:05 +0000 (11:16 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 11 Sep 2023 15:24:02 +0000 (11:24 -0400)
commita5edf52da2125c4d3e467fe16f44b44d1282282a
treee07730b1897c66aeac3deb679b77746839d0007d
parenta44a99385cbaf7b78dc7cdb677bed05ae9bdc52e
Fix: bt2::CommonOptionField::hasField(): use has_value()

Can't convert `nonstd::optional<ConstField>` to `bool` for some reason
in this context.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I539700da37eb0c27944e2f2842b09df8c2b1b023
Reviewed-on: https://review.lttng.org/c/babeltrace/+/10835
Tested-by: jenkins <jenkins@lttng.org>
src/cpp-common/bt2/field.hpp
This page took 0.026708 seconds and 4 git commands to generate.