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/LinkRegistry.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/LinkRegistry.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/LinkRegistry.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/LinkRegistry.cpp b/cpp/src/qpid/broker/LinkRegistry.cpp index 3672f71515..7ef6ce5301 100644 --- a/cpp/src/qpid/broker/LinkRegistry.cpp +++ b/cpp/src/qpid/broker/LinkRegistry.cpp @@ -52,7 +52,7 @@ LinkRegistry::LinkRegistry (Broker* _broker) : parent(0), store(0), passive(false), passiveChanged(false), realm(broker->getOptions().realm) { - timer.add (intrusive_ptr<TimerTask> (new Periodic(*this))); + timer.add (new Periodic(*this)); } LinkRegistry::Periodic::Periodic (LinkRegistry& _links) : @@ -61,7 +61,7 @@ LinkRegistry::Periodic::Periodic (LinkRegistry& _links) : void LinkRegistry::Periodic::fire () { links.periodicMaintenance (); - links.timer.add (intrusive_ptr<TimerTask> (new Periodic(links))); + links.timer.add (new Periodic(links)); } void LinkRegistry::periodicMaintenance () |
