diff options
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. |