Add a basic .clang-tidy file and fix typedef warnings
[lttng-tools.git] / src / common / compat / directory-handle.hpp
index 0f969554d79ae774bd03be16d177a9399919eef7..ced720e5a307edd66d91c34606119e3f376b9fc7 100644 (file)
@@ -29,8 +29,7 @@ enum lttng_directory_handle_rmdir_recursive_flags {
 
 struct lttng_directory_handle;
 
-typedef void (*lttng_directory_handle_destroy_cb)(
-               struct lttng_directory_handle *handle, void *data);
+using lttng_directory_handle_destroy_cb = void (*)(struct lttng_directory_handle *, void *);
 
 struct lttng_directory_handle {
        struct urcu_ref ref;
This page took 0.022981 seconds and 4 git commands to generate.