X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fcmd.hpp;h=445eda80c95aece5d4e9bf66791b659e94e298d4;hb=e0252788784c4c7392e5105aed0eaf745798482e;hp=8727e741bca66a715237ed5e275c0000fc0d1a01;hpb=c9e313bc594f40a86eed237dce222c0fc99c957f;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/cmd.hpp b/src/bin/lttng-sessiond/cmd.hpp index 8727e741b..445eda80c 100644 --- a/src/bin/lttng-sessiond/cmd.hpp +++ b/src/bin/lttng-sessiond/cmd.hpp @@ -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;