diff options
| author | Alan Conway <aconway@apache.org> | 2009-05-04 17:22:33 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-05-04 17:22:33 +0000 |
| commit | 2f1c3e9abdedbc87fb6f281b73665fe05046b413 (patch) | |
| tree | 709a150dcd15535b9c4eb59743ee30c095926035 /qpid/cpp/src/tests/txshift.cpp | |
| parent | bf192fdd0ca82d2ec4104cda520580b0b317cf0f (diff) | |
| download | qpid-python-2f1c3e9abdedbc87fb6f281b73665fe05046b413.tar.gz | |
Applied PIMPL pattern to SubscriptionManager.
Cleaned up some sloppy #includes.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@771366 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/txshift.cpp')
| -rw-r--r-- | qpid/cpp/src/tests/txshift.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/txshift.cpp b/qpid/cpp/src/tests/txshift.cpp index dd67710526..97135c9829 100644 --- a/qpid/cpp/src/tests/txshift.cpp +++ b/qpid/cpp/src/tests/txshift.cpp @@ -61,7 +61,7 @@ struct Transfer : MessageListener Transfer(const std::string control_) : control(control_), expected(0), transfered(0) {} - void subscribeToSource(SubscriptionManager& manager) + void subscribeToSource(SubscriptionManager manager) { sourceSettings.autoAck = 0;//will accept once at the end of the batch sourceSettings.flowControl = FlowControl::messageCredit(expected); @@ -69,7 +69,7 @@ struct Transfer : MessageListener QPID_LOG(info, "Subscribed to source: " << source << " expecting: " << expected); } - void subscribeToControl(SubscriptionManager& manager) + void subscribeToControl(SubscriptionManager manager) { controlSettings.flowControl = FlowControl::messageCredit(1); controlSubscription = manager.subscribe(*this, control, controlSettings); |
