diff options
author | Gordon Sim <gsim@apache.org> | 2007-11-01 14:44:30 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2007-11-01 14:44:30 +0000 |
commit | a56816f9ab5b5c62ef660564079a1cbfbb323931 (patch) | |
tree | 5fd0323baf892be1ada4f49f1cfb6eedab10315c /cpp/src/tests/SessionState.cpp | |
parent | 7de71198a292c7b0a533abe4f950a4e8c7ec3c97 (diff) | |
download | qpid-python-a56816f9ab5b5c62ef660564079a1cbfbb323931.tar.gz |
locking around access to the unacked out buffer
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@591026 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/SessionState.cpp')
-rw-r--r-- | cpp/src/tests/SessionState.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/SessionState.cpp b/cpp/src/tests/SessionState.cpp index f021861cd4..b8d0560c48 100644 --- a/cpp/src/tests/SessionState.cpp +++ b/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. |