diff options
author | Stephen D. Huston <shuston@apache.org> | 2009-11-16 20:30:19 +0000 |
---|---|---|
committer | Stephen D. Huston <shuston@apache.org> | 2009-11-16 20:30:19 +0000 |
commit | 00588ef1ccfc963ceae751b46659ad111c879c05 (patch) | |
tree | 3613f68b68fd0fcdd0bbe8f33b6ff6b2a17c8fa5 | |
parent | 771ac3e530a701120a933034f29659d16d5b4e85 (diff) | |
download | qpid-python-00588ef1ccfc963ceae751b46659ad111c879c05.tar.gz |
Use portable sleep call
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@880949 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | cpp/src/tests/declare_queues.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/tests/declare_queues.cpp b/cpp/src/tests/declare_queues.cpp index df2718a970..bf85b9c04b 100644 --- a/cpp/src/tests/declare_queues.cpp +++ b/cpp/src/tests/declare_queues.cpp @@ -21,6 +21,7 @@ #include <qpid/client/FailoverManager.h> #include <qpid/client/Session.h> +#include <qpid/sys/Time.h> #include <qpid/Exception.h> #include <cstdlib> @@ -81,7 +82,7 @@ main(int argc, char ** argv) << " port: " << settings.port << endl; return 1; } - sleep ( 1 ); + qpid::sys::sleep ( 1 ); } } } |