Skip to content

Commit bb7bac0

Browse files
committed
CI fixes
1 parent fb93438 commit bb7bac0

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

iceoryx2-cxx/include/iox2/publisher.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,15 +167,14 @@ inline auto Publisher<S, Payload, UserHeader>::initial_max_slice_len() const ->
167167
}
168168

169169
template <ServiceType S, typename Payload, typename UserHeader>
170-
inline auto Publisher<S, Payload, UserHeader>::max_loaned_samples() const -> uint64_t{
170+
inline auto Publisher<S, Payload, UserHeader>::max_loaned_samples() const -> uint64_t {
171171
return iox2_publisher_max_loaned_samples(&m_handle);
172172
}
173173

174174
template <ServiceType S, typename Payload, typename UserHeader>
175175
template <typename T, typename>
176176
inline auto Publisher<S, Payload, UserHeader>::allocation_strategy() const -> AllocationStrategy {
177-
return iox2::bb::into<AllocationStrategy>(
178-
static_cast<int>(iox2_publisher_allocation_strategy(&m_handle)));
177+
return iox2::bb::into<AllocationStrategy>(static_cast<int>(iox2_publisher_allocation_strategy(&m_handle)));
179178
}
180179

181180
template <ServiceType S, typename Payload, typename UserHeader>

iceoryx2-ffi/c/src/api/publisher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,6 @@ pub unsafe extern "C" fn iox2_publisher_unable_to_deliver_strategy(
331331
/// # Safety
332332
///
333333
/// * `publisher_handle` is valid and non-null
334-
335334
#[no_mangle]
336335
pub unsafe extern "C" fn iox2_publisher_allocation_strategy(
337336
publisher_handle: iox2_publisher_h_ref,
@@ -390,6 +389,7 @@ pub unsafe extern "C" fn iox2_publisher_initial_max_slice_len(
390389
///
391390
/// # Arguments
392391
/// * `publisher_handle` obtained by [`iox2_port_factory_publisher_builder_create`](crate::iox2_port_factory_publisher_builder_create)
392+
///
393393
/// Returns the maximum number of loaned samples as a [`c_size_t`].
394394
///
395395
/// # Safety

0 commit comments

Comments
 (0)