File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -181,15 +181,15 @@ TEST_CASE("message equality non equal lhs empty", "[message]")
181
181
182
182
TEST_CASE (" message rebuild with size" , " [message]" )
183
183
{
184
- zmq::message_t msg () ;
184
+ zmq::message_t msg;
185
185
msg.rebuild (5 )
186
186
CHECK (msg.size () == 5 );
187
187
}
188
188
189
189
#if defined(ZMQ_CPP11) && !defined(ZMQ_CPP11_PARTIAL)
190
190
TEST_CASE (" message rebuild with string literal" , " [message]" )
191
191
{
192
- zmq::message_t hi_msg () ;
192
+ zmq::message_t hi_msg;
193
193
hi_msg.rebuild (" Hi" )
194
194
REQUIRE (2u == hi_msg.size ());
195
195
CHECK (0 == memcmp (data, hi_msg.data (), 2 ));
@@ -200,7 +200,7 @@ TEST_CASE("message rebuild with strings", "[message]")
200
200
SECTION (" string" )
201
201
{
202
202
const std::string hi (data);
203
- zmq::message_t hi_msg () ;
203
+ zmq::message_t hi_msg;
204
204
hi_msg.rebuild (hi)
205
205
CHECK (2u == hi_msg.size ());
206
206
CHECK (0 == memcmp (data, hi_msg.data (), 2 ));
@@ -209,7 +209,7 @@ TEST_CASE("message rebuild with strings", "[message]")
209
209
SECTION (" string_view" )
210
210
{
211
211
const std::string_view hi (data);
212
- zmq::message_t hi_msg () ;
212
+ zmq::message_t hi_msg;
213
213
hi_msg.rebuild (hi)
214
214
CHECK (2u == hi_msg.size ());
215
215
CHECK (0 == memcmp (data, hi_msg.data (), 2 ));
You can’t perform that action at this time.
0 commit comments