X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Ftrace-chunk.cpp;fp=src%2Fcommon%2Ftrace-chunk.cpp;h=f38a93b90930b3abd357574a34f009d1807f17b1;hb=e665dfbce25215d5ec77ff03a279c7163b337db1;hp=8267af0ec8ba473cb27b83874c4aa0cda691608d;hpb=28ab034a2c3582d07d3423d2d746731f87d3969f;p=lttng-tools.git diff --git a/src/common/trace-chunk.cpp b/src/common/trace-chunk.cpp index 8267af0ec..f38a93b90 100644 --- a/src/common/trace-chunk.cpp +++ b/src/common/trace-chunk.cpp @@ -50,7 +50,7 @@ enum trace_chunk_mode { * since only one thread may access a chunk during its destruction (the last * to release its reference to the chunk). */ -typedef int (*chunk_command)(struct lttng_trace_chunk *trace_chunk); +using chunk_command = int (*)(struct lttng_trace_chunk *); /* Move a completed trace chunk to the 'completed' trace archive folder. */ static int lttng_trace_chunk_move_to_completed_post_release(struct lttng_trace_chunk *trace_chunk);