lib: update and simplify the `bt_object` API
[babeltrace.git] / include / babeltrace / object-pool-internal.h
index ef855890ab943305fddd009c5384cdeef11e7f81..54917c050e94aa02a0e44a0f4f9b8968d4dae670 100644 (file)
@@ -168,7 +168,7 @@ void bt_object_pool_recycle_object(struct bt_object_pool *pool, void *obj)
        }
 
        /* Reset reference count to 1 since it could be 0 now */
-       bt_obj->ref_count.count = 1;
+       bt_obj->ref_count = 1;
 
        /* Back to the pool */
        pool->objects->pdata[pool->size] = obj;
This page took 0.024514 seconds and 4 git commands to generate.