X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fstream.cpp;fp=src%2Fbin%2Flttng-relayd%2Fstream.cpp;h=b57c061c571b41fea32997d5c778eabee233764c;hp=346936d8488f1436186f4b5abf065bf86131d2d7;hb=7586404633a22e219a7ffd7a0f2624b5bc56e37b;hpb=ff2aa8f08b117f2a309ed49cf68b135f930093f8 diff --git a/src/bin/lttng-relayd/stream.cpp b/src/bin/lttng-relayd/stream.cpp index 346936d84..b57c061c5 100644 --- 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; - stream->ongoing_rotation = (typeof(stream->ongoing_rotation)) {}; + stream->ongoing_rotation = LTTNG_OPTIONAL_INIT_UNSET; stream->completed_rotation_count++; }