summaryrefslogtreecommitdiff
path: root/TAO/tao
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2023-02-13 16:38:30 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2023-02-13 16:38:30 +0100
commit80ef4188441e6a0b786e48659af9e39ecd4b9735 (patch)
tree712121e038abdacac39e599d592336173dfe7a12 /TAO/tao
parent45fa63be04357683ab473a2f993e621508ecb5f7 (diff)
downloadATCD-80ef4188441e6a0b786e48659af9e39ecd4b9735.tar.gz
Use default destructor
* TAO/tao/Argument.cpp: * TAO/tao/Argument.h: * TAO/tao/Base_Transport_Property.cpp: * TAO/tao/Base_Transport_Property.h:
Diffstat (limited to 'TAO/tao')
-rw-r--r--TAO/tao/Argument.cpp4
-rw-r--r--TAO/tao/Argument.h2
-rw-r--r--TAO/tao/Base_Transport_Property.cpp4
-rw-r--r--TAO/tao/Base_Transport_Property.h2
4 files changed, 2 insertions, 10 deletions
diff --git a/TAO/tao/Argument.cpp b/TAO/tao/Argument.cpp
index fab7b1d7514..dee22fca0f7 100644
--- a/TAO/tao/Argument.cpp
+++ b/TAO/tao/Argument.cpp
@@ -3,10 +3,6 @@
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-TAO::Argument::~Argument ()
-{
-}
-
CORBA::Boolean
TAO::Argument::marshal (TAO_OutputCDR &)
{
diff --git a/TAO/tao/Argument.h b/TAO/tao/Argument.h
index 39740bb5230..cc2e35bb0de 100644
--- a/TAO/tao/Argument.h
+++ b/TAO/tao/Argument.h
@@ -50,7 +50,7 @@ namespace TAO
{
public:
/// Destructor.
- virtual ~Argument ();
+ virtual ~Argument () = default;
/// Marshal the argument into the given CDR output stream.
/**
diff --git a/TAO/tao/Base_Transport_Property.cpp b/TAO/tao/Base_Transport_Property.cpp
index 17a83e1a618..dd0eccfab29 100644
--- a/TAO/tao/Base_Transport_Property.cpp
+++ b/TAO/tao/Base_Transport_Property.cpp
@@ -7,10 +7,6 @@
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-TAO_Base_Transport_Property::~TAO_Base_Transport_Property ()
-{
-}
-
TAO_Transport_Descriptor_Interface *
TAO_Base_Transport_Property::duplicate ()
{
diff --git a/TAO/tao/Base_Transport_Property.h b/TAO/tao/Base_Transport_Property.h
index 54836a0817a..7f6a33180ae 100644
--- a/TAO/tao/Base_Transport_Property.h
+++ b/TAO/tao/Base_Transport_Property.h
@@ -43,7 +43,7 @@ public:
CORBA::Boolean flag = false);
/// Destructor
- virtual ~TAO_Base_Transport_Property ();
+ virtual ~TAO_Base_Transport_Property () = default;
/// The copy constructor.
TAO_Base_Transport_Property (const TAO_Base_Transport_Property &rhs);