diff options
author | Alan Conway <aconway@apache.org> | 2010-07-27 18:52:50 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2010-07-27 18:52:50 +0000 |
commit | d4e5573151bebd09883cc5d6bacf7224b6564671 (patch) | |
tree | 518b95330c024a4bb19e83c4b5bdd871fc1f0beb /cpp | |
parent | 7ff5598c5c3acb995fdf03ef41557b75f050f37b (diff) | |
download | qpid-python-d4e5573151bebd09883cc5d6bacf7224b6564671.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.cpp | 2 |
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"); |