From 33104f3296898ac1af7fe7e20f45649d038fd481 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Tue, 12 Sep 2023 13:56:28 +0200 Subject: [PATCH] Use default * TAO/tao/Base_Transport_Property.h: * TAO/tao/Base_Transport_Property.inl: --- TAO/tao/Base_Transport_Property.h | 2 +- TAO/tao/Base_Transport_Property.inl | 17 ++++------------- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/TAO/tao/Base_Transport_Property.h b/TAO/tao/Base_Transport_Property.h index 7f6a33180ae9e..ad69a5d2ddfac 100644 --- a/TAO/tao/Base_Transport_Property.h +++ b/TAO/tao/Base_Transport_Property.h @@ -36,7 +36,7 @@ class TAO_Export TAO_Base_Transport_Property { public: /// Default constructor - TAO_Base_Transport_Property (); + TAO_Base_Transport_Property () = default; /// Constructor TAO_Base_Transport_Property (TAO_Endpoint *endpoint, diff --git a/TAO/tao/Base_Transport_Property.inl b/TAO/tao/Base_Transport_Property.inl index 4f7ce5ebd51d0..7409a75609f81 100644 --- a/TAO/tao/Base_Transport_Property.inl +++ b/TAO/tao/Base_Transport_Property.inl @@ -1,25 +1,16 @@ // -*- C++ -*- TAO_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_INLINE -TAO_Base_Transport_Property::TAO_Base_Transport_Property () -{ -} - ACE_INLINE TAO_Base_Transport_Property:: - TAO_Base_Transport_Property (TAO_Endpoint *endpoint, - CORBA::Boolean flag) - : TAO_Transport_Descriptor_Interface (endpoint, - flag) + TAO_Base_Transport_Property (TAO_Endpoint *endpoint, CORBA::Boolean flag) + : TAO_Transport_Descriptor_Interface (endpoint, flag) { } ACE_INLINE -TAO_Base_Transport_Property::TAO_Base_Transport_Property ( - const TAO_Base_Transport_Property &rhs) - : TAO_Transport_Descriptor_Interface (rhs.endpoint_->duplicate (), - true) +TAO_Base_Transport_Property::TAO_Base_Transport_Property (const TAO_Base_Transport_Property &rhs) + : TAO_Transport_Descriptor_Interface (rhs.endpoint_->duplicate (), true) { }