summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/SessionState.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-11-01 14:44:30 +0000
committerGordon Sim <gsim@apache.org>2007-11-01 14:44:30 +0000
commit1644c002ac05fdc9cb88c9698aa6e4d20dcc4fb3 (patch)
tree263f6a4bc3e49c85cd721ede7ad741aef2b3a703 /qpid/cpp/src/tests/SessionState.cpp
parent1907c3872b4ff22b93224f230244f2807d619b77 (diff)
downloadqpid-python-1644c002ac05fdc9cb88c9698aa6e4d20dcc4fb3.tar.gz
locking around access to the unacked out buffer
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@591026 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/SessionState.cpp')
-rw-r--r--qpid/cpp/src/tests/SessionState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/SessionState.cpp b/qpid/cpp/src/tests/SessionState.cpp
index f021861cd4..b8d0560c48 100644
--- a/qpid/cpp/src/tests/SessionState.cpp
+++ b/qpid/cpp/src/tests/SessionState.cpp
@@ -49,7 +49,7 @@ void sent(SessionState& session, const std::string& frames) {
// Received chars as frames
void received(SessionState& session, const std::string& frames) {
for_each(frames.begin(), frames.end(),
- bind(&SessionState::received, session, bind(frame, _1)));
+ bind(&SessionState::received, ref(session), bind(frame, _1)));
}
// Make a string from a ReplayRange.