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 | 4304885fe72c6299ccda02e60919fe98b2cdbe6e (patch) | |
tree | 4a826dfc1f6bb1c56395708bfdafb01d814e7731 | |
parent | 0303f6a08256c26f4d9701803b17ba810d395eeb (diff) | |
download | qpid-python-4304885fe72c6299ccda02e60919fe98b2cdbe6e.tar.gz |
Use portable sleep call
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@880949 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/cpp/src/tests/declare_queues.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/declare_queues.cpp b/qpid/cpp/src/tests/declare_queues.cpp index df2718a970..bf85b9c04b 100644 --- a/qpid/cpp/src/tests/declare_queues.cpp +++ b/qpid/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 ); } } } |