From ebfd9ff053b04ab379acfc0fefedee5a31b6d8a5 Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Fri, 21 Oct 2011 01:19:00 +0000 Subject: Undo bad merge from trunk - merged at wrong level. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-2519@1187150 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/bindings/qpid/dotnet/src/Address.cpp | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'cpp/bindings/qpid/dotnet/src/Address.cpp') diff --git a/cpp/bindings/qpid/dotnet/src/Address.cpp b/cpp/bindings/qpid/dotnet/src/Address.cpp index 79a8021d9a..b688d973ed 100644 --- a/cpp/bindings/qpid/dotnet/src/Address.cpp +++ b/cpp/bindings/qpid/dotnet/src/Address.cpp @@ -141,7 +141,7 @@ namespace Messaging { } } - // Copy constructor look-alike (C#) + // copy constructor Address::Address(const Address ^ address) { System::Exception ^ newException = nullptr; @@ -163,28 +163,6 @@ namespace Messaging { } } - // Copy constructor implicitly dereferenced (C++) - Address::Address(const Address % address) - { - System::Exception ^ newException = nullptr; - - try - { - addressp = new ::qpid::messaging::Address( - *(const_cast
(address).NativeAddress)); - } - catch (const ::qpid::types::Exception & error) - { - String ^ errmsg = gcnew String(error.what()); - newException = gcnew QpidException(errmsg); - } - - if (newException != nullptr) - { - throw newException; - } - } - // unmanaged clone Address::Address(const ::qpid::messaging::Address & addrp) { -- cgit v1.2.1