diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qpid/client/SessionCore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/SessionCore.cpp b/cpp/src/qpid/client/SessionCore.cpp index 14b9020282..653bcd93c1 100644 --- a/cpp/src/qpid/client/SessionCore.cpp +++ b/cpp/src/qpid/client/SessionCore.cpp @@ -308,7 +308,7 @@ void SessionCore::checkOpen() const { cause=" by :"+text; throw CommandInvalidException(QPID_MSG("Session is suspended" << cause)); } - check(state==OPEN, COMMAND_INVALID, QPID_MSG("Session is not open")); + check(state==OPEN, COMMAND_INVALID, "Session is not open"); } Future SessionCore::send(const AMQBody& command) |