summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples/direct/declare_queues.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-11-13 18:48:43 +0000
committerGordon Sim <gsim@apache.org>2008-11-13 18:48:43 +0000
commit74b553b6ef2ccaa18a85c729b00cd0f14233e3b1 (patch)
tree5b23d095684c1362a4c6c2148b6043472a7d2f04 /qpid/cpp/examples/direct/declare_queues.cpp
parent84cd555a220a48737adb78154de4adbb2ac6d1e1 (diff)
downloadqpid-python-74b553b6ef2ccaa18a85c729b00cd0f14233e3b1.tar.gz
Minor cleanup edits to examples (from jrobie@redhat.com)
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@713785 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples/direct/declare_queues.cpp')
-rw-r--r--qpid/cpp/examples/direct/declare_queues.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/qpid/cpp/examples/direct/declare_queues.cpp b/qpid/cpp/examples/direct/declare_queues.cpp
index 07e34007a4..9a51d1982b 100644
--- a/qpid/cpp/examples/direct/declare_queues.cpp
+++ b/qpid/cpp/examples/direct/declare_queues.cpp
@@ -47,15 +47,10 @@
#include <qpid/client/Connection.h>
#include <qpid/client/Session.h>
-#include <unistd.h>
-#include <cstdlib>
-#include <iostream>
using namespace qpid::client;
using namespace qpid::framing;
-using std::string;
-
int main(int argc, char** argv) {
const char* host = argc>1 ? argv[1] : "127.0.0.1";