Skip to content

Commit

Permalink
iox-eclipse-iceoryx#218 Use type traits from master.
Browse files Browse the repository at this point in the history
Signed-off-by: Ithier Jeff (CC-AD/EYF1) <[email protected]>
  • Loading branch information
orecham committed Sep 22, 2020
1 parent 30739c0 commit e0467f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ inline cxx::expected<AllocationError> TypedPublisher<T, base_publisher_t>::publi
ArgTypes... args) noexcept
{
static_assert(
cxx::is_callable<Callable, T*, ArgTypes...>::value,
cxx::is_invocable<Callable, T*, ArgTypes...>::value,
"TypedPublisher<T>::publishResultOf expects a valid callable with a specific signature as the first argument");
static_assert(cxx::has_signature<Callable, void(T*, ArgTypes...)>::value,
"callable provided to TypedPublisher<T>::publishResultOf must have signature void(T*, ArgsTypes...)");
Expand Down

0 comments on commit e0467f7

Please sign in to comment.