Skip to content

Commit

Permalink
iox-#1196 Remove superfluous ;
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Eltzschig <[email protected]>
  • Loading branch information
elfenpiff committed Jul 6, 2022
1 parent 899e757 commit 971d88e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions iceoryx_hoofs/test/moduletests/test_relocatable_ptr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,31 +76,31 @@ constexpr auto getReturns()
{
using R = decltype(std::declval<P>().get());
return std::is_same<R, T>::value;
};
}

// does the conversion operator of P return a T?
template <typename P, typename T>
constexpr auto conversionReturns()
{
using R = decltype(std::declval<P>().operator T());
return std::is_same<R, T>::value;
};
}

// does the arrow operator of P return a T?
template <typename P, typename T>
constexpr auto arrowReturns()
{
using R = decltype(std::declval<P>().operator->());
return std::is_same<R, T>::value;
};
}

// does the dereferencing operator of P return a T?
template <typename P, typename T>
constexpr auto dereferencingReturns()
{
using R = decltype(std::declval<P>().operator*());
return std::is_same<R, T>::value;
};
}


struct Data
Expand Down
4 changes: 2 additions & 2 deletions iceoryx_hoofs/test/moduletests/test_unix_domain_sockets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ TIMING_TEST_F(UnixDomainSocket_test, TimedReceiveBlocks, Repeat(5), [&] {

TIMING_TEST_ASSERT_TRUE(msg.has_error());
TIMING_TEST_EXPECT_TRUE(msg.get_error() == IpcChannelError::TIMEOUT);
});
})

TIMING_TEST_F(UnixDomainSocket_test, TimedReceiveBlocksUntilMessageIsReceived, Repeat(5), [&] {
::testing::Test::RecordProperty("TEST_ID", "76df3d40-d420-4c5f-b82a-3bf8b684a21b");
Expand All @@ -446,7 +446,7 @@ TIMING_TEST_F(UnixDomainSocket_test, TimedReceiveBlocksUntilMessageIsReceived, R
std::this_thread::sleep_for(WAIT_IN_MS);
TIMING_TEST_ASSERT_FALSE(client.send(message).has_error());
waitThread.join();
});
})
#endif
} // namespace
#endif

0 comments on commit 971d88e

Please sign in to comment.