projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
format-cpp: run clang-format in parallel
[lttng-tools.git]
/
src
/
common
/
dynamic-array.cpp
diff --git
a/src/common/dynamic-array.cpp
b/src/common/dynamic-array.cpp
index 030dd459d5dcaea729217b89f0aaad880d5e4b89..c18a484711038cc782945283b2c9c192d3359758 100644
(file)
--- a/
src/common/dynamic-array.cpp
+++ b/
src/common/dynamic-array.cpp
@@
-124,7
+124,7
@@
int lttng_dynamic_pointer_array_remove_pointer(struct lttng_dynamic_pointer_arra
* Prevent the destructor from being used by the underlying
* dynamic array.
*/
* Prevent the destructor from being used by the underlying
* dynamic array.
*/
- array->array.destructor =
NULL
;
+ array->array.destructor =
nullptr
;
if (destructor) {
destructor(lttng_dynamic_pointer_array_get_pointer(array, index));
}
if (destructor) {
destructor(lttng_dynamic_pointer_array_get_pointer(array, index));
}
@@
-147,7
+147,7
@@
void lttng_dynamic_pointer_array_reset(struct lttng_dynamic_pointer_array *array
* Prevent the destructor from being used by the underlying
* dynamic array.
*/
* Prevent the destructor from being used by the underlying
* dynamic array.
*/
- array->array.destructor =
NULL
;
+ array->array.destructor =
nullptr
;
}
lttng_dynamic_array_reset(&array->array);
}
}
lttng_dynamic_array_reset(&array->array);
}
@@
-160,7
+160,7
@@
void lttng_dynamic_pointer_array_clear(struct lttng_dynamic_pointer_array *array
* Prevent the destructor from being used by the underlying
* dynamic array.
*/
* Prevent the destructor from being used by the underlying
* dynamic array.
*/
- array->array.destructor =
NULL
;
+ array->array.destructor =
nullptr
;
if (destructor) {
size_t i, count = lttng_dynamic_pointer_array_get_count(array);
if (destructor) {
size_t i, count = lttng_dynamic_pointer_array_get_count(array);
This page took
0.02445 seconds
and
4
git commands to generate.