include/babeltrace2: add `noexcept` specifier for C++ ≥ 11
[babeltrace.git] / include / babeltrace2 / graph / connection.h
index 53e6c89048deff86ec2d9b8f612c56e6fff50a8b..8400522f3ae31c208d2b08dc4facfc54a668624c 100644 (file)
@@ -74,7 +74,7 @@ bt_connection_borrow_downstream_port_const().
 @bt_pre_not_null{connection}
 */
 extern const bt_port_input *bt_connection_borrow_downstream_port_const(
-               const bt_connection *connection);
+               const bt_connection *connection) __BT_NOEXCEPT;
 
 /*!
 @brief
@@ -90,7 +90,7 @@ extern const bt_port_input *bt_connection_borrow_downstream_port_const(
 @bt_pre_not_null{connection}
 */
 extern const bt_port_output *bt_connection_borrow_upstream_port_const(
-               const bt_connection *connection);
+               const bt_connection *connection) __BT_NOEXCEPT;
 
 /*! @} */
 
@@ -114,7 +114,8 @@ extern const bt_port_output *bt_connection_borrow_upstream_port_const(
 @sa bt_connection_put_ref() —
     Decrements the reference count of a connection.
 */
-extern void bt_connection_get_ref(const bt_connection *connection);
+extern void bt_connection_get_ref(const bt_connection *connection)
+               __BT_NOEXCEPT;
 
 /*!
 @brief
@@ -131,7 +132,8 @@ extern void bt_connection_get_ref(const bt_connection *connection);
 @sa bt_connection_get_ref() —
     Increments the reference count of a connection.
 */
-extern void bt_connection_put_ref(const bt_connection *connection);
+extern void bt_connection_put_ref(const bt_connection *connection)
+               __BT_NOEXCEPT;
 
 /*!
 @brief
This page took 0.023718 seconds and 4 git commands to generate.