projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: sessiond: ODR violation results in memory corruption
[lttng-tools.git]
/
src
/
common
/
index-allocator.cpp
diff --git
a/src/common/index-allocator.cpp
b/src/common/index-allocator.cpp
index 1f7b3e05208d3cfb6fa60785f4db7218f57f7588..32778cd205eae16652af36770d768769db62724f 100644
(file)
--- a/
src/common/index-allocator.cpp
+++ b/
src/common/index-allocator.cpp
@@
-22,10
+22,12
@@
struct lttng_index_allocator {
uint64_t nb_allocated_indexes;
};
+namespace {
struct lttng_index {
uint64_t index;
struct cds_list_head head;
};
+} /* namespace */
struct lttng_index_allocator *lttng_index_allocator_create(
uint64_t index_count)
This page took
0.054013 seconds
and
4
git commands to generate.