summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/FutureResult.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/client/FutureResult.cpp')
-rw-r--r--cpp/src/qpid/client/FutureResult.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/FutureResult.cpp b/cpp/src/qpid/client/FutureResult.cpp
index a523129206..681202edea 100644
--- a/cpp/src/qpid/client/FutureResult.cpp
+++ b/cpp/src/qpid/client/FutureResult.cpp
@@ -30,7 +30,7 @@ using namespace qpid::sys;
const std::string& FutureResult::getResult(SessionCore& session) const
{
waitForCompletion();
- session.checkClosed();
+ session.assertOpen();
return result;
}