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/Connection.cpp | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'cpp/bindings/qpid/dotnet/src/Connection.cpp') diff --git a/cpp/bindings/qpid/dotnet/src/Connection.cpp b/cpp/bindings/qpid/dotnet/src/Connection.cpp index 12c0e29f74..69ace7db52 100644 --- a/cpp/bindings/qpid/dotnet/src/Connection.cpp +++ b/cpp/bindings/qpid/dotnet/src/Connection.cpp @@ -114,7 +114,7 @@ namespace Messaging { } - // Copy constructor look-alike (C#) + // Copy constructor Connection::Connection(const Connection ^ connection) { System::Exception ^ newException = nullptr; @@ -136,28 +136,6 @@ namespace Messaging { } } - // Copy constructor implicitly dereferenced (C++) - Connection::Connection(const Connection % connection) - { - System::Exception ^ newException = nullptr; - - try - { - connectionp = new ::qpid::messaging::Connection( - *(const_cast(connection).NativeConnection)); - } - catch (const ::qpid::types::Exception & error) - { - String ^ errmsg = gcnew String(error.what()); - newException = gcnew QpidException(errmsg); - } - - if (newException != nullptr) - { - throw newException; - } - } - // Destructor Connection::~Connection() -- cgit v1.2.1