summaryrefslogtreecommitdiff
path: root/cpp/tests/echo_service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/tests/echo_service.cpp')
-rw-r--r--cpp/tests/echo_service.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/tests/echo_service.cpp b/cpp/tests/echo_service.cpp
index 666c8cfa46..ff11a336fe 100644
--- a/cpp/tests/echo_service.cpp
+++ b/cpp/tests/echo_service.cpp
@@ -103,7 +103,7 @@ int main(int argc, char** argv){
Connection connection(args.getTrace());
connection.open(args.getHost(), args.getPort());
Channel channel;
- connection.openChannel(&channel);
+ connection.openChannel(channel);
//Setup: declare the private 'response' queue and bind it
//to the direct exchange by its name which will be
@@ -147,7 +147,7 @@ int main(int argc, char** argv){
Connection connection(args.getTrace());
connection.open(args.getHost(), args.getPort());
Channel channel;
- connection.openChannel(&channel);
+ connection.openChannel(channel);
//Setup: declare the 'request' queue and bind it to the direct exchange with a 'well known' name
Queue request("request");