X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Faction-executor.cpp;fp=src%2Fbin%2Flttng-sessiond%2Faction-executor.cpp;h=87e94bd82b7ad26e9db0fd99338d47576da07740;hp=e7dfa845d0fa8e80988ef28fcf4d9a4de1828e24;hb=e665dfbce25215d5ec77ff03a279c7163b337db1;hpb=28ab034a2c3582d07d3423d2d746731f87d3969f diff --git a/src/bin/lttng-sessiond/action-executor.cpp b/src/bin/lttng-sessiond/action-executor.cpp index e7dfa845d..87e94bd82 100644 --- a/src/bin/lttng-sessiond/action-executor.cpp +++ b/src/bin/lttng-sessiond/action-executor.cpp @@ -116,9 +116,9 @@ struct action_work_subitem { * Only return non-zero on a fatal error that should shut down the action * executor. */ -typedef int (*action_executor_handler)(struct action_executor *executor, - const struct action_work_item *, - struct action_work_subitem *item); +using action_executor_handler = int (*)(struct action_executor *, + const struct action_work_item *, + struct action_work_subitem *); static int action_executor_notify_handler(struct action_executor *executor, const struct action_work_item *,