Change-Id: Ib9e050b109df596f7c7198a80fed6c1cd9c20cea
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/7640
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/10764
CI-Build: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
DynamicArrayWithLengthFieldClass {libObjPtr}};
}
- StructureFieldClass::Shared createStructureFieldClass(const std::uint64_t length)
+ StructureFieldClass::Shared createStructureFieldClass()
{
static_assert(!std::is_const<LibObjT>::value, "`LibObjT` must NOT be `const`.");
- const auto libObjPtr = bt_field_class_structure_create(this->_libObjPtr(), length);
+ const auto libObjPtr = bt_field_class_structure_create(this->_libObjPtr());
internal::validateCreatedObjPtr(libObjPtr);
return StructureFieldClass::Shared {StructureFieldClass {libObjPtr}};