diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2009-07-30 14:06:49 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2009-07-30 14:06:49 +0000 |
| commit | 9c095c4cd694287151cc1fabcc274fd435944dee (patch) | |
| tree | aea55b408f4461f86cc2087629e71c21247ab392 /cpp/src/qpid/broker/DtxManager.cpp | |
| parent | 20dfc1f76b845a7d6826f9a27923827fd60ea0e9 (diff) | |
| download | qpid-python-9c095c4cd694287151cc1fabcc274fd435944dee.tar.gz | |
Change all broker users of broker::Timer to use sys::Timer
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@799273 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/DtxManager.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/DtxManager.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/qpid/broker/DtxManager.cpp b/cpp/src/qpid/broker/DtxManager.cpp index 9eb077716d..64c59295f1 100644 --- a/cpp/src/qpid/broker/DtxManager.cpp +++ b/cpp/src/qpid/broker/DtxManager.cpp @@ -33,7 +33,7 @@ using qpid::ptr_map_ptr; using namespace qpid::broker; using namespace qpid::framing; -DtxManager::DtxManager(Timer& t) : store(0), timer(t) {} +DtxManager::DtxManager(sys::Timer& t) : store(0), timer(t) {} DtxManager::~DtxManager() {} @@ -130,8 +130,7 @@ void DtxManager::setTimeout(const std::string& xid, uint32_t secs) } timeout = intrusive_ptr<DtxTimeout>(new DtxTimeout(secs, *this, xid)); record->setTimeout(timeout); - timer.add(boost::static_pointer_cast<TimerTask>(timeout)); - + timer.add(timeout); } uint32_t DtxManager::getTimeout(const std::string& xid) |
