projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git]
/
src
/
lib
/
graph
/
connection.h
diff --git
a/src/lib/graph/connection.h
b/src/lib/graph/connection.h
index e6190fa5a500697331084db4a76b018d90949457..8f2c32caf7a44a7fa618e5d1b121b2c7f2adf189 100644
(file)
--- a/
src/lib/graph/connection.h
+++ b/
src/lib/graph/connection.h
@@
-25,9
+25,9
@@
*/
#include <babeltrace2/graph/connection-const.h>
*/
#include <babeltrace2/graph/connection-const.h>
-#include <babeltrace2/graph/message-iterator-const.h>
#include "lib/object.h"
#include "common/assert.h"
#include "lib/object.h"
#include "common/assert.h"
+#include "common/macros.h"
#include <stdbool.h>
#include "message/iterator.h"
#include <stdbool.h>
#include "message/iterator.h"
@@
-76,7
+76,7
@@
void bt_connection_remove_iterator(struct bt_connection *conn,
static inline
struct bt_graph *bt_connection_borrow_graph(struct bt_connection *conn)
{
static inline
struct bt_graph *bt_connection_borrow_graph(struct bt_connection *conn)
{
- BT_ASSERT(conn);
+ BT_ASSERT
_DBG
(conn);
return (void *) conn->base.parent;
}
return (void *) conn->base.parent;
}
This page took
0.02543 seconds
and
4
git commands to generate.