Add a basic .clang-tidy file and fix typedef warnings
[lttng-tools.git] / src / common / userspace-probe.cpp
index 718136c445275534180674ff2181791fc4a45d5a..48b9d03f0e7ff2409802b6aede31e59ce276799d 100644 (file)
@@ -1910,8 +1910,8 @@ enum lttng_error_code
 lttng_userspace_probe_location_mi_serialize(const struct lttng_userspace_probe_location *location,
                                            struct mi_writer *writer)
 {
-       typedef enum lttng_error_code (*mi_fp)(const struct lttng_userspace_probe_location *,
-                                              struct mi_writer *);
+       using mi_fp = enum lttng_error_code (*)(const struct lttng_userspace_probe_location *,
+                                               struct mi_writer *);
 
        int ret;
        enum lttng_error_code ret_code;
This page took 0.02269 seconds and 4 git commands to generate.