You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2018/10/12 18:06:04 UTC

qpid-cpp git commit: QPID-8248: fix resetting of pointer for certain compilers

Repository: qpid-cpp
Updated Branches:
  refs/heads/master 07673b0b3 -> f264cc6c0


QPID-8248: fix resetting of pointer for certain compilers


Project: http://git-wip-us.apache.org/repos/asf/qpid-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-cpp/commit/f264cc6c
Tree: http://git-wip-us.apache.org/repos/asf/qpid-cpp/tree/f264cc6c
Diff: http://git-wip-us.apache.org/repos/asf/qpid-cpp/diff/f264cc6c

Branch: refs/heads/master
Commit: f264cc6c0f27635b784d602d6ff85df09742cbe0
Parents: 07673b0
Author: Gordon Sim <gs...@redhat.com>
Authored: Fri Oct 12 19:05:49 2018 +0100
Committer: Gordon Sim <gs...@redhat.com>
Committed: Fri Oct 12 19:05:49 2018 +0100

----------------------------------------------------------------------
 src/qpid/broker/Exchange.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-cpp/blob/f264cc6c/src/qpid/broker/Exchange.cpp
----------------------------------------------------------------------
diff --git a/src/qpid/broker/Exchange.cpp b/src/qpid/broker/Exchange.cpp
index 1fff1f0..0bbe535 100644
--- a/src/qpid/broker/Exchange.cpp
+++ b/src/qpid/broker/Exchange.cpp
@@ -491,7 +491,7 @@ void Exchange::destroy()
     }
     if (mgmtExchange != 0) {
         mgmtExchange->resourceDestroy ();
-        mgmtExchange = 0;
+        mgmtExchange.reset();
     }
 }
 bool Exchange::isDestroyed() const


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org