projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: invalid use of destructor in dynamic pointer array
[lttng-tools.git]
/
src
/
common
/
dynamic-array.h
diff --git
a/src/common/dynamic-array.h
b/src/common/dynamic-array.h
index e97b51d5d0d1d0ff5eebf9e7cddd1fedfa9112f2..1fbc29b70ac06285a30fc4ac21c60a5f081165af 100644
(file)
--- a/
src/common/dynamic-array.h
+++ b/
src/common/dynamic-array.h
@@
-146,12
+146,9
@@
int lttng_dynamic_pointer_array_add_pointer(
* count is decreased by one and the following pointers are shifted to
* take the place of the removed pointer (if applicable).
*/
* count is decreased by one and the following pointers are shifted to
* take the place of the removed pointer (if applicable).
*/
-static inline
+LTTNG_HIDDEN
int lttng_dynamic_pointer_array_remove_pointer(
int lttng_dynamic_pointer_array_remove_pointer(
- struct lttng_dynamic_pointer_array *array, size_t index)
-{
- return lttng_dynamic_array_remove_element(&array->array, index);
-}
+ struct lttng_dynamic_pointer_array *array, size_t index);
/* Release any memory used by the dynamic array. */
LTTNG_HIDDEN
/* Release any memory used by the dynamic array. */
LTTNG_HIDDEN
This page took
0.024187 seconds
and
5
git commands to generate.