summaryrefslogtreecommitdiff
path: root/cpp/examples/qmf-console/printevents.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/examples/qmf-console/printevents.cpp')
-rw-r--r--cpp/examples/qmf-console/printevents.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/examples/qmf-console/printevents.cpp b/cpp/examples/qmf-console/printevents.cpp
index 38d6f830aa..898972f28d 100644
--- a/cpp/examples/qmf-console/printevents.cpp
+++ b/cpp/examples/qmf-console/printevents.cpp
@@ -88,7 +88,7 @@ int main_int(int /*argc*/, char** /*argv*/)
// Sleep indefinitely while asynchronous events are handled by the listener.
//
for (;;)
- ::sleep(1);
+ qpid::sys::sleep(1);
sm.delBroker(broker);
return 0;