Fix clang-tidy cppcoreguidelines-pro-type-const-cast warning
[lttng-tools.git] / src / lib / lttng-ctl / lttng-ctl.cpp
index 03ed2aa10a4459891018fe038b7a8cbdbaf50c75..15a699e24f3fd63837edbc6b11dccfa3ac5b1a10 100644 (file)
@@ -1180,7 +1180,7 @@ int lttng_enable_event_with_exclusions(struct lttng_handle *handle,
 serialize:
        ret = lttng_event_serialize(ev,
                                    exclusion_count,
-                                   const_cast<const char **>(exclusion_list),
+                                   exclusion_list,
                                    filter_expression,
                                    bytecode_len,
                                    (ctx && bytecode_len) ? &ctx->bytecode->b : nullptr,
This page took 0.023685 seconds and 4 git commands to generate.