X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fcmd.hpp;h=445eda80c95aece5d4e9bf66791b659e94e298d4;hb=e665dfbce25215d5ec77ff03a279c7163b337db1;hp=8727e741bca66a715237ed5e275c0000fc0d1a01;hpb=28ab034a2c3582d07d3423d2d746731f87d3969f;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;