Add a basic .clang-tidy file and fix typedef warnings
[lttng-tools.git] / src / common / trace-chunk.cpp
index 8267af0ec8ba473cb27b83874c4aa0cda691608d..f38a93b90930b3abd357574a34f009d1807f17b1 100644 (file)
@@ -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);
This page took 0.022944 seconds and 4 git commands to generate.