Add a basic .clang-tidy file and fix typedef warnings
[lttng-tools.git] / src / bin / lttng-sessiond / action-executor.cpp
index e7dfa845d0fa8e80988ef28fcf4d9a4de1828e24..87e94bd82b7ad26e9db0fd99338d47576da07740 100644 (file)
@@ -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 *,
This page took 0.023022 seconds and 4 git commands to generate.