summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2011-06-17 12:03:14 +0000
committerGordon Sim <gsim@apache.org>2011-06-17 12:03:14 +0000
commit1591a1f07dcffcc0eae3ae15f3c4cec89699a570 (patch)
tree5ea92c5946086f710e034938a6b5b7ea73f8bc85 /cpp/src
parent4cdf746f5bb38db60821047c3393f89f15b26f1e (diff)
downloadqpid-python-1591a1f07dcffcc0eae3ae15f3c4cec89699a570.tar.gz
QPID-3280: fix compilation error on windows introduced by previous commit for this JIRA
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1136852 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/broker/Queue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/Queue.cpp b/cpp/src/qpid/broker/Queue.cpp
index bacc612e11..ffe05ddaf6 100644
--- a/cpp/src/qpid/broker/Queue.cpp
+++ b/cpp/src/qpid/broker/Queue.cpp
@@ -436,7 +436,7 @@ void Queue::purgeExpired(sys::Duration lapse)
//attempt is less than one per second.
int count = dequeueSincePurge.get();
dequeueSincePurge -= count;
- int seconds = int64_t(lapse)/sys::TIME_SEC;
+ int seconds = int64_t(lapse)/qpid::sys::TIME_SEC;
if (seconds == 0 || count / seconds < 1) {
std::deque<QueuedMessage> expired;
{