Skip to content

Commit 30fdfe0

Browse files
committed
Simplify code by trusting the compiler
1 parent 93e3090 commit 30fdfe0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

zmq_addon.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,7 @@ recv_result_t recv_multipart_n(socket_ref s, OutputIt out, size_t n,
5050
message_t msg;
5151
while (true)
5252
{
53-
#ifdef ZMQ_CPP17
54-
if constexpr (CheckN)
55-
#else
5653
if (CheckN)
57-
#endif
5854
{
5955
if (msg_count >= n)
6056
throw std::runtime_error("Too many message parts in recv_multipart_n");

0 commit comments

Comments
 (0)