Fix: bt2::CommonOptionField::hasField(): use has_value()
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 10 Aug 2022 15:16:05 +0000 (11:16 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 23 Aug 2022 16:06:16 +0000 (12:06 -0400)
commit8a437b3544052aa6db5c9d578faee76f98b27711
treedcb365ce19674fea69f6c3c67e84a934bf3dca33
parent9181c96efa146c60257ae66a8ba9eacf0876c854
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
src/cpp-common/bt2/field.hpp
This page took 0.02356 seconds and 5 git commands to generate.