X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fuserspace-probe.cpp;fp=src%2Fcommon%2Fuserspace-probe.cpp;h=48b9d03f0e7ff2409802b6aede31e59ce276799d;hp=718136c445275534180674ff2181791fc4a45d5a;hb=e665dfbce25215d5ec77ff03a279c7163b337db1;hpb=28ab034a2c3582d07d3423d2d746731f87d3969f diff --git a/src/common/userspace-probe.cpp b/src/common/userspace-probe.cpp index 718136c44..48b9d03f0 100644 --- a/src/common/userspace-probe.cpp +++ b/src/common/userspace-probe.cpp @@ -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;