From: Simon Marchi Date: Tue, 6 Feb 2024 20:03:12 +0000 (-0500) Subject: lib: remove BT_ASSERT_COND_SUPPORTED check in graph/graph.h X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=4abd55bd16ba510a244f2794042ec5b3d1569c5b lib: remove BT_ASSERT_COND_SUPPORTED check in graph/graph.h This header file no longer uses pre-condition macros. Change-Id: I1afd3a709560221dd67100a5a0beb653f79df6a3 Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/11751 Tested-by: jenkins Reviewed-by: Philippe Proulx --- diff --git a/src/lib/graph/graph.h b/src/lib/graph/graph.h index f1b39475..3dc5e1e7 100644 --- a/src/lib/graph/graph.h +++ b/src/lib/graph/graph.h @@ -34,14 +34,6 @@ # error Please include "lib/logging.h" before including this file. #endif -/* - * Protection: this file uses precondition and postcondition assertion - * macros directly. - */ -#ifndef BT_ASSERT_COND_SUPPORTED -# error Please include "lib/assert-cond.h" before including this file. -#endif - struct bt_component; struct bt_port;