projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: g++ 4.8 doesn't support non-trivial designated initializers
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
stream.cpp
diff --git
a/src/bin/lttng-relayd/stream.cpp
b/src/bin/lttng-relayd/stream.cpp
index 346936d8488f1436186f4b5abf065bf86131d2d7..b57c061c571b41fea32997d5c778eabee233764c 100644
(file)
--- a/
src/bin/lttng-relayd/stream.cpp
+++ b/
src/bin/lttng-relayd/stream.cpp
@@
-71,7
+71,7
@@
static void stream_complete_rotation(struct relay_stream *stream)
}
lttng_trace_chunk_put(stream->trace_chunk);
stream->trace_chunk = stream->ongoing_rotation.value.next_trace_chunk;
}
lttng_trace_chunk_put(stream->trace_chunk);
stream->trace_chunk = stream->ongoing_rotation.value.next_trace_chunk;
- stream->ongoing_rotation =
(typeof(stream->ongoing_rotation)) {}
;
+ stream->ongoing_rotation =
LTTNG_OPTIONAL_INIT_UNSET
;
stream->completed_rotation_count++;
}
stream->completed_rotation_count++;
}
This page took
0.023003 seconds
and
4
git commands to generate.