From 4abd55bd16ba510a244f2794042ec5b3d1569c5b Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 6 Feb 2024 15:03:12 -0500 Subject: [PATCH] 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 --- src/lib/graph/graph.h | 8 -------- 1 file changed, 8 deletions(-) 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; -- 2.34.1