lib: Reset libbabeltrace2 to SONANE 0
[babeltrace.git] / include / babeltrace / object-pool-internal.h
index ef855890ab943305fddd009c5384cdeef11e7f81..4cc5142c476623fbb2cfea2cab9fe5e1deea2bba 100644 (file)
@@ -2,7 +2,6 @@
 #define BABELTRACE_OBJECT_POOL_INTERNAL_H
 
 /*
- * Copyright (c) 2018 EfficiOS Inc. and Linux Foundation
  * Copyright (c) 2018 Philippe Proulx <pproulx@efficios.com>
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -168,7 +167,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.02506 seconds and 4 git commands to generate.