summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/DtxManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/broker/DtxManager.h')
-rw-r--r--cpp/src/qpid/broker/DtxManager.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/qpid/broker/DtxManager.h b/cpp/src/qpid/broker/DtxManager.h
index 3db3f70685..64eae1488d 100644
--- a/cpp/src/qpid/broker/DtxManager.h
+++ b/cpp/src/qpid/broker/DtxManager.h
@@ -35,7 +35,6 @@ namespace broker {
class DtxManager{
typedef boost::ptr_map<std::string, DtxWorkRecord> WorkMap;
-
struct DtxCleanup : public TimerTask
{
DtxManager& mgr;
@@ -51,8 +50,8 @@ class DtxManager{
Timer timer;
void remove(const std::string& xid);
- WorkMap::iterator getWork(const std::string& xid);
- WorkMap::iterator createWork(std::string xid);
+ DtxWorkRecord* getWork(const std::string& xid);
+ DtxWorkRecord* createWork(std::string xid);
public:
DtxManager(TransactionalStore* const store);