bt2: Add `Const` suffix to non-user component-related classes and adapt tests
[babeltrace.git] / src / bindings / python / bt2 / bt2 / plugin.py
index 66840f9475eeb7de55e1c76d1f8c4b36c97c6495..cb169f484a36ee317ab2cc22011051522f514407 100644 (file)
@@ -199,7 +199,7 @@ class _PluginComponentClasses(collections.abc.Mapping):
         if cc_ptr is None:
             raise KeyError(key)
 
-        return bt2_component._create_component_class_from_ptr_and_get_ref(
+        return bt2_component._create_component_class_from_const_ptr_and_get_ref(
             cc_ptr, self._comp_cls_type
         )
 
This page took 0.023104 seconds and 4 git commands to generate.