From e1f49fd06b3b55ba81d5df0adddd18781b0940e6 Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Mon, 14 Feb 2022 11:23:11 -0500 Subject: [PATCH] Fix: C++ bindings typos in lib function name Signed-off-by: Francis Deslauriers Change-Id: Ic72511ce1c8cd2b214c23d71cf2e12bfed455f70 Reviewed-on: https://review.lttng.org/c/babeltrace/+/7295 Tested-by: jenkins Reviewed-by: Philippe Proulx --- src/cpp-common/bt2/trace-ir.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cpp-common/bt2/trace-ir.hpp b/src/cpp-common/bt2/trace-ir.hpp index dd79fc44..3c8637cf 100644 --- a/src/cpp-common/bt2/trace-ir.hpp +++ b/src/cpp-common/bt2/trace-ir.hpp @@ -1151,7 +1151,7 @@ public: static_assert(!std::is_const::value, "`LibObjT` must NOT be `const`."); const auto status = - bt_event_class_set_specificContext_field_class(this->_libObjPtr(), fc._libObjPtr()); + bt_event_class_set_specific_context_field_class(this->_libObjPtr(), fc._libObjPtr()); if (status == BT_EVENT_CLASS_SET_FIELD_CLASS_STATUS_MEMORY_ERROR) { throw LibMemoryError {}; @@ -1620,7 +1620,7 @@ public: static_assert(!std::is_const::value, "`LibObjT` must NOT be `const`."); const auto status = - bt_stream_class_set_payload_field_class(this->_libObjPtr(), fc._libObjPtr()); + bt_stream_class_set_packet_context_field_class(this->_libObjPtr(), fc._libObjPtr()); if (status == BT_EVENT_CLASS_SET_FIELD_CLASS_STATUS_MEMORY_ERROR) { throw LibMemoryError {}; @@ -1653,8 +1653,8 @@ public: { static_assert(!std::is_const::value, "`LibObjT` must NOT be `const`."); - const auto status = - bt_stream_class_set_specificContext_field_class(this->_libObjPtr(), fc._libObjPtr()); + const auto status = bt_stream_class_set_event_common_context_field_class(this->_libObjPtr(), + fc._libObjPtr()); if (status == BT_EVENT_CLASS_SET_FIELD_CLASS_STATUS_MEMORY_ERROR) { throw LibMemoryError {}; -- 2.34.1