summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples/messaging/drain.cpp
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2010-03-30 20:02:35 +0000
committerStephen D. Huston <shuston@apache.org>2010-03-30 20:02:35 +0000
commit7b39205d3938dcdf87e78d99caa7d69f02212bf8 (patch)
treec3c7497adfd0a1f8fc4ba32abd2a1bef3a010c4f /qpid/cpp/examples/messaging/drain.cpp
parent287a79cabf8f2931257fbbf78f1f19de12efc5f2 (diff)
downloadqpid-python-7b39205d3938dcdf87e78d99caa7d69f02212bf8.tar.gz
Rename Duration::INFINITE to Duration::FOREVER; resolves QPID-2475.
Added missing QPID_CLIENT_EXTERN where needed in Duration class to build on Windows. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929240 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples/messaging/drain.cpp')
-rw-r--r--qpid/cpp/examples/messaging/drain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/examples/messaging/drain.cpp b/qpid/cpp/examples/messaging/drain.cpp
index a2bb1c9d3a..a2fa0f1138 100644
--- a/qpid/cpp/examples/messaging/drain.cpp
+++ b/qpid/cpp/examples/messaging/drain.cpp
@@ -64,7 +64,7 @@ struct Options : public qpid::Options
Duration getTimeout()
{
- if (forever) return Duration::INFINITE;
+ if (forever) return Duration::FOREVER;
else return timeout*Duration::SECOND;
}