summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/Message.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/client/Message.h')
-rw-r--r--cpp/src/qpid/client/Message.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/client/Message.h b/cpp/src/qpid/client/Message.h
index 1fc199e8d8..655fc89457 100644
--- a/cpp/src/qpid/client/Message.h
+++ b/cpp/src/qpid/client/Message.h
@@ -22,7 +22,7 @@
*
*/
#include <string>
-#include "qpid/client/Session.h"
+#include "qpid/client/Session_0_10.h"
#include "qpid/framing/MessageTransferBody.h"
#include "qpid/framing/TransferContent.h"
@@ -60,7 +60,7 @@ public:
return getMessageProperties().getApplicationHeaders();
}
- void acknowledge(Session& session, bool cumulative = true, bool send = true) const
+ void acknowledge(Session_0_10& session, bool cumulative = true, bool send = true) const
{
session.execution().completed(id, cumulative, send);
}