Fix: cpp-common: remove unexpected parameter to createStructureFieldClass
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 17 Mar 2022 18:54:03 +0000 (14:54 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 11 Sep 2023 15:24:02 +0000 (11:24 -0400)
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>
src/cpp-common/bt2/trace-ir.hpp

index c22d736cf4541b53dca009d1ba2f374b2dfb2af3..44d84b6d3eb8413d4cc26cbffe80a77889b588b7 100644 (file)
@@ -1993,11 +1993,11 @@ public:
             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}};
This page took 0.02484 seconds and 4 git commands to generate.