summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/FutureResponse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/client/FutureResponse.cpp')
-rw-r--r--cpp/src/qpid/client/FutureResponse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/FutureResponse.cpp b/cpp/src/qpid/client/FutureResponse.cpp
index 73b7c3a7a6..5d36a1d873 100644
--- a/cpp/src/qpid/client/FutureResponse.cpp
+++ b/cpp/src/qpid/client/FutureResponse.cpp
@@ -31,7 +31,7 @@ using namespace qpid::sys;
AMQMethodBody* FutureResponse::getResponse(SessionCore& session)
{
waitForCompletion();
- session.checkClosed();
+ session.assertOpen();
return response.get();
}