diff options
| author | Stephen D. Huston <shuston@apache.org> | 2010-03-30 20:02:35 +0000 |
|---|---|---|
| committer | Stephen D. Huston <shuston@apache.org> | 2010-03-30 20:02:35 +0000 |
| commit | 7c1cc78b2b6f2b4986ef550255a10aa564b7d75f (patch) | |
| tree | 3171a63324f0fdb2ba2f96ed3e29dedf927be8a2 /cpp/examples/messaging/drain.cpp | |
| parent | ccd96838d2e5a2506f3a2313e20c47f5eda93b9a (diff) | |
| download | qpid-python-7c1cc78b2b6f2b4986ef550255a10aa564b7d75f.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/qpid@929240 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/messaging/drain.cpp')
| -rw-r--r-- | cpp/examples/messaging/drain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/examples/messaging/drain.cpp b/cpp/examples/messaging/drain.cpp index a2bb1c9d3a..a2fa0f1138 100644 --- a/cpp/examples/messaging/drain.cpp +++ b/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; } |
