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]")
154154#if defined(ZMQ_BUILD_DRAFT_API) && defined(ZMQ_CPP11) \
155155 && !defined (ZMQ_CPP11_PARTIAL) && defined (ZMQ_HAVE_POLLER)
156156#include " zmq_addon.hpp"
157- #include < chrono>
158-
159- using namespace std ::literals::chrono_literals;
160157
161158TEST_CASE (" poll monitor events using active poller" , " [monitor]" )
162159{
@@ -221,15 +218,15 @@ TEST_CASE("poll monitor events using active poller", "[monitor]")
221218
222219 // Act
223220 for (int i = 0 ; i < 10 ; i++) {
224- poller.wait (10ms );
221+ poller.wait (std::chrono::milliseconds ( 10 ) );
225222 }
226223 CHECK (monitor.clientAccepted == 1 );
227224 CHECK (monitor.clientDisconnected == 0 );
228225
229226 sockets.client .close ();
230227
231228 for (int i = 0 ; i < 10 ; i++) {
232- poller.wait (10ms );
229+ poller.wait (std::chrono::milliseconds ( 10 ) );
233230 }
234231 sockets.server .close ();
235232
You can’t perform that action at this time.
0 commit comments