diff options
| author | Alan Conway <aconway@apache.org> | 2012-07-11 15:02:36 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2012-07-11 15:02:36 +0000 |
| commit | b031a39e2f06646409835c8a300aa96716b76b12 (patch) | |
| tree | 3a44944138790f8e0e00957849e9c495ad53cb3f /cpp/src | |
| parent | b7d5c6aee67310f579d8014a15646c6c7486398d (diff) | |
| download | qpid-python-b031a39e2f06646409835c8a300aa96716b76b12.tar.gz | |
QPID-4128: Remove use of intrusive_ptr::reset, not available in older boost versions.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1360218 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
| -rw-r--r-- | cpp/src/qpid/ha/Primary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/ha/Primary.cpp b/cpp/src/qpid/ha/Primary.cpp index a1ce81c3a5..feb18528ff 100644 --- a/cpp/src/qpid/ha/Primary.cpp +++ b/cpp/src/qpid/ha/Primary.cpp @@ -101,7 +101,7 @@ Primary::Primary(HaBroker& hb, const BrokerInfo::Set& expect) : // Set timeout for expected brokers to connect and become ready. sys::Duration timeout(hb.getSettings().backupTimeout*sys::TIME_SEC); sys::AbsTime deadline(sys::now(), timeout); - timerTask.reset(new ExpectedBackupTimerTask(*this, deadline)); + timerTask = new ExpectedBackupTimerTask(*this, deadline); hb.getBroker().getTimer().add(timerTask); } |
