summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-07-27 18:52:50 +0000
committerAlan Conway <aconway@apache.org>2010-07-27 18:52:50 +0000
commit35405a108497a5735d256a07b0f48f1d854659d7 (patch)
tree518b95330c024a4bb19e83c4b5bdd871fc1f0beb /cpp
parent6643aabb01b5b6fe8a0ad965205fa908a5efd1b9 (diff)
downloadqpid-python-35405a108497a5735d256a07b0f48f1d854659d7.tar.gz
Fix bug in test code: invalid use of c_str()
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@979803 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/tests/cluster_authentication_soak.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/cluster_authentication_soak.cpp b/cpp/src/tests/cluster_authentication_soak.cpp
index 31714a19a6..b8e8a22693 100644
--- a/cpp/src/tests/cluster_authentication_soak.cpp
+++ b/cpp/src/tests/cluster_authentication_soak.cpp
@@ -93,7 +93,7 @@ startBroker ( brokerVector & brokers , int brokerNumber, string const & clusterN
argv.push_back ("../qpidd");
argv.push_back ("--no-module-dir");
argv.push_back ("--load-module=../.libs/cluster.so");
- argv.push_back (clusterArg.str().c_str());
+ argv.push_back (clusterArg.str());
argv.push_back ("--cluster-username=zig");
argv.push_back ("--cluster-password=zig");
argv.push_back ("--cluster-mechanism=ANONYMOUS");