diff options
| author | Alan Conway <aconway@apache.org> | 2008-05-26 12:11:10 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-05-26 12:11:10 +0000 |
| commit | 8d279700e2470c7091ac3cd0b7e945f0d02ca28c (patch) | |
| tree | 14a4c00273bed8925ed367965f3c27c321e6dfdd /qpid/cpp | |
| parent | 778a8312f9601d17ab4f3c6c74092909637fb17c (diff) | |
| download | qpid-python-8d279700e2470c7091ac3cd0b7e945f0d02ca28c.tar.gz | |
Fix compile error in examples.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@660173 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
| -rw-r--r-- | qpid/cpp/examples/examples/direct/declare_queues.cpp | 2 | ||||
| -rw-r--r-- | qpid/cpp/examples/examples/xml-exchange/declare_queues.cpp | 2 | ||||
| -rw-r--r-- | qpid/cpp/src/qpid/client/Session.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/examples/examples/direct/declare_queues.cpp b/qpid/cpp/examples/examples/direct/declare_queues.cpp index 71ed28dac4..07c9c63ff6 100644 --- a/qpid/cpp/examples/examples/direct/declare_queues.cpp +++ b/qpid/cpp/examples/examples/direct/declare_queues.cpp @@ -57,7 +57,7 @@ int main(int argc, char** argv) { const char* host = argc>1 ? argv[1] : "127.0.0.1"; int port = argc>2 ? atoi(argv[2]) : 5672; Connection connection; - Message msg; + try { connection.open(host, port); Session session = connection.newSession(ASYNC); diff --git a/qpid/cpp/examples/examples/xml-exchange/declare_queues.cpp b/qpid/cpp/examples/examples/xml-exchange/declare_queues.cpp index 44e3de33f8..b89f95cd97 100644 --- a/qpid/cpp/examples/examples/xml-exchange/declare_queues.cpp +++ b/qpid/cpp/examples/examples/xml-exchange/declare_queues.cpp @@ -36,7 +36,7 @@ int main(int argc, char** argv) { const char* host = argc>1 ? argv[1] : "127.0.0.1"; int port = argc>2 ? atoi(argv[2]) : 5672; Connection connection; - Message msg; + try { connection.open(host, port); Session session = connection.newSession(ASYNC); diff --git a/qpid/cpp/src/qpid/client/Session.h b/qpid/cpp/src/qpid/client/Session.h index fc4175ef22..84831ec442 100644 --- a/qpid/cpp/src/qpid/client/Session.h +++ b/qpid/cpp/src/qpid/client/Session.h @@ -27,7 +27,7 @@ namespace qpid { namespace client { /** - * Session is currently just an alias for Session_99_0 + * Session is an alias for Session_0_10 * * \ingroup clientapi */ |
