include/babeltrace2: add `noexcept` specifier for C++ ≥ 11
[babeltrace.git] / include / babeltrace2 / trace-ir / clock-snapshot.h
index f04204c9bce3210ba77628dc00adde2795a8ebd5..79bf17fc5811c24c4c34e5d0ac6d7245cc0ee94e 100644 (file)
@@ -107,7 +107,7 @@ properties of its class.
 @bt_pre_not_null{clock_snapshot}
 */
 extern const bt_clock_class *bt_clock_snapshot_borrow_clock_class_const(
-               const bt_clock_snapshot *clock_snapshot);
+               const bt_clock_snapshot *clock_snapshot) __BT_NOEXCEPT;
 
 /*!
 @brief
@@ -127,7 +127,7 @@ extern const bt_clock_class *bt_clock_snapshot_borrow_clock_class_const(
     clock snapshot's value.
 */
 extern uint64_t bt_clock_snapshot_get_value(
-               const bt_clock_snapshot *clock_snapshot);
+               const bt_clock_snapshot *clock_snapshot) __BT_NOEXCEPT;
 
 /*!
 @brief
@@ -203,7 +203,7 @@ code if any step of the computation process causes an integer overflow.
 extern bt_clock_snapshot_get_ns_from_origin_status
 bt_clock_snapshot_get_ns_from_origin(
                const bt_clock_snapshot *clock_snapshot,
-               int64_t *ns_from_origin);
+               int64_t *ns_from_origin) __BT_NOEXCEPT;
 
 /*! @} */
 
This page took 0.024049 seconds and 4 git commands to generate.