Add type-checked versions of allocation and deallocations functions
[lttng-tools.git] / src / common / event-expr / event-expr.cpp
index 9306dbeee76571c0cb210b99f0360cf9b0f1464a..1b592bdb121cf54fbc5d8f3204e9c9be0512994a 100644 (file)
@@ -40,7 +40,7 @@ struct lttng_event_expr *create_empty_expr(enum lttng_event_expr_type type,
 {
        struct lttng_event_expr *expr;
 
-       expr = (lttng_event_expr *) zmalloc(size);
+       expr = zmalloc<lttng_event_expr>(size);
        if (!expr) {
                goto end;
        }
This page took 0.022684 seconds and 4 git commands to generate.