diff --git a/iceoryx2-ffi/cxx/include/iox2/publisher.hpp b/iceoryx2-ffi/cxx/include/iox2/publisher.hpp index efe79fbb9..4c37e397d 100644 --- a/iceoryx2-ffi/cxx/include/iox2/publisher.hpp +++ b/iceoryx2-ffi/cxx/include/iox2/publisher.hpp @@ -65,7 +65,7 @@ class Publisher { /// [`Payload`]. /// /// On failure it returns [`PublisherLoanError`] describing the failure. - template ::VALUE, T>> + template ::VALUE, T>> auto loan_slice(uint64_t number_of_elements) -> iox::expected, PublisherLoanError>;