Add a basic .clang-tidy file and fix typedef warnings
[lttng-tools.git] / src / bin / lttng-sessiond / cmd.hpp
index 8727e741bca66a715237ed5e275c0000fc0d1a01..445eda80c95aece5d4e9bf66791b659e94e298d4 100644 (file)
@@ -25,7 +25,7 @@ struct lttng_dynamic_buffer;
  * completed successfully. On failure, the handler's return code should
  * be the only reply sent to the client.
  */
-typedef enum lttng_error_code (*completion_handler_function)(void *);
+using completion_handler_function = enum lttng_error_code (*)(void *);
 struct cmd_completion_handler {
        completion_handler_function run;
        void *data;
This page took 0.023747 seconds and 4 git commands to generate.