../subprojects/cppzmq-4.8.1/examples/pubsub_multithread_inproc.cpp: In function ‘void PublisherThread(zmq::context_t*)’:
../subprojects/cppzmq-4.8.1/examples/pubsub_multithread_inproc.cpp:14:23: error: ‘sleep_for’ is not a member of ‘std::this_thread’
14 | std::this_thread::sleep_for(std::chrono::milliseconds(20));
With GCC12, I get this error:
This is because sleep_for is part of thread, which is not included in the example. This PR fixes that.