From: Francis Deslauriers Date: Fri, 4 Mar 2022 19:52:08 +0000 (-0500) Subject: Fix: field-class.cpp: calling _option_fc lib function on VariantFieldClass X-Git-Url: https://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=c3d8db2a06c3405a53332599628a33ba2ea5603a Fix: field-class.cpp: calling _option_fc lib function on VariantFieldClass Signed-off-by: Francis Deslauriers Change-Id: Ie3bbc05a20368b8b1388b484ef02da4fb4b68a2d Reviewed-on: https://review.lttng.org/c/babeltrace/+/7497 Reviewed-by: Philippe Proulx Reviewed-on: https://review.lttng.org/c/babeltrace/+/10758 Tested-by: jenkins CI-Build: Philippe Proulx --- diff --git a/src/cpp-common/bt2/field-class.hpp b/src/cpp-common/bt2/field-class.hpp index 26183b44..46f3a7cf 100644 --- a/src/cpp-common/bt2/field-class.hpp +++ b/src/cpp-common/bt2/field-class.hpp @@ -1976,7 +1976,7 @@ public: ConstFieldPath selectorFieldPath() const noexcept { return ConstFieldPath { - bt_field_class_option_with_selector_field_borrow_selector_field_path_const( + bt_field_class_variant_with_selector_field_borrow_selector_field_path_const( this->_libObjPtr())}; }