File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -154,9 +154,6 @@ TEST_CASE("monitor from move assigned socket", "[monitor]")
154
154
#if defined(ZMQ_BUILD_DRAFT_API) && defined(ZMQ_CPP11) \
155
155
&& !defined(ZMQ_CPP11_PARTIAL) && defined(ZMQ_HAVE_POLLER)
156
156
#include " zmq_addon.hpp"
157
- #include < chrono>
158
-
159
- using namespace std ::literals::chrono_literals;
160
157
161
158
TEST_CASE (" poll monitor events using active poller" , " [monitor]" )
162
159
{
@@ -221,15 +218,15 @@ TEST_CASE("poll monitor events using active poller", "[monitor]")
221
218
222
219
// Act
223
220
for (int i = 0 ; i < 10 ; i++) {
224
- poller.wait (10ms );
221
+ poller.wait (std::chrono::milliseconds ( 10 ) );
225
222
}
226
223
CHECK (monitor.clientAccepted == 1 );
227
224
CHECK (monitor.clientDisconnected == 0 );
228
225
229
226
sockets.client .close ();
230
227
231
228
for (int i = 0 ; i < 10 ; i++) {
232
- poller.wait (10ms );
229
+ poller.wait (std::chrono::milliseconds ( 10 ) );
233
230
}
234
231
sockets.server .close ();
235
232
You can’t perform that action at this time.
0 commit comments