Fix tests

This commit is contained in:
Gudmundur Adalsteinsson 2019-08-30 22:33:49 +00:00
parent 9b20c461a0
commit 9e0b9b4a38

View File

@ -7,7 +7,7 @@ static_assert(std::is_nothrow_swappable_v<zmq::socket_ref>);
#endif
static_assert(sizeof(zmq::socket_ref) == sizeof(void *), "size mismatch");
static_assert(alignof(zmq::socket_ref) == alignof(void *), "alignment mismatch");
static_assert(std::is_trivially_copyable<zmq::socket_ref>::value,
static_assert(ZMQ_IS_TRIVIALLY_COPYABLE(zmq::socket_ref),
"needs to be trivially copyable");
TEST_CASE("socket_ref default init", "[socket_ref]")