summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2009-11-16 20:30:19 +0000
committerStephen D. Huston <shuston@apache.org>2009-11-16 20:30:19 +0000
commit4304885fe72c6299ccda02e60919fe98b2cdbe6e (patch)
tree4a826dfc1f6bb1c56395708bfdafb01d814e7731
parent0303f6a08256c26f4d9701803b17ba810d395eeb (diff)
downloadqpid-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.cpp3
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 );
}
}
}