We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b20c46 commit 9e0b9b4Copy full SHA for 9e0b9b4
tests/socket_ref.cpp
@@ -7,7 +7,7 @@ static_assert(std::is_nothrow_swappable_v<zmq::socket_ref>);
7
#endif
8
static_assert(sizeof(zmq::socket_ref) == sizeof(void *), "size mismatch");
9
static_assert(alignof(zmq::socket_ref) == alignof(void *), "alignment mismatch");
10
-static_assert(std::is_trivially_copyable<zmq::socket_ref>::value,
+static_assert(ZMQ_IS_TRIVIALLY_COPYABLE(zmq::socket_ref),
11
"needs to be trivially copyable");
12
13
TEST_CASE("socket_ref default init", "[socket_ref]")
0 commit comments