summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2022-09-19 13:46:37 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2022-09-19 13:46:37 +0200
commitadf5bf4e71739a491b31ecec4fcfa8f82daded67 (patch)
treee455e4a13454117db14a26519c7436f0137d20d4
parent5e96bb28fc7572f39b63ac2aca72800c45cdb1ee (diff)
downloadATCD-adf5bf4e71739a491b31ecec4fcfa8f82daded67.tar.gz
Use default destructors
* TAO/tao/Wait_On_LF_No_Upcall.cpp: * TAO/tao/Wait_On_LF_No_Upcall.h: * TAO/tao/Wait_On_Leader_Follower.cpp: * TAO/tao/Wait_On_Leader_Follower.h: * TAO/tao/Wait_On_Reactor.cpp: * TAO/tao/Wait_On_Reactor.h: * TAO/tao/Wait_On_Read.cpp: * TAO/tao/Wait_On_Read.h: * TAO/tao/Wait_Strategy.cpp: * TAO/tao/Wait_Strategy.h:
-rw-r--r--TAO/tao/Wait_On_LF_No_Upcall.cpp4
-rw-r--r--TAO/tao/Wait_On_LF_No_Upcall.h2
-rw-r--r--TAO/tao/Wait_On_Leader_Follower.cpp4
-rw-r--r--TAO/tao/Wait_On_Leader_Follower.h2
-rw-r--r--TAO/tao/Wait_On_Reactor.cpp4
-rw-r--r--TAO/tao/Wait_On_Reactor.h2
-rw-r--r--TAO/tao/Wait_On_Read.cpp5
-rw-r--r--TAO/tao/Wait_On_Read.h2
-rw-r--r--TAO/tao/Wait_Strategy.cpp5
-rw-r--r--TAO/tao/Wait_Strategy.h2
10 files changed, 5 insertions, 27 deletions
diff --git a/TAO/tao/Wait_On_LF_No_Upcall.cpp b/TAO/tao/Wait_On_LF_No_Upcall.cpp
index c6d79a32ff4..6009312c714 100644
--- a/TAO/tao/Wait_On_LF_No_Upcall.cpp
+++ b/TAO/tao/Wait_On_LF_No_Upcall.cpp
@@ -11,10 +11,6 @@ namespace TAO
{
}
- Wait_On_LF_No_Upcall::~Wait_On_LF_No_Upcall ()
- {
- }
-
int
Wait_On_LF_No_Upcall::wait (ACE_Time_Value *max_wait_time,
TAO_Synch_Reply_Dispatcher &rd)
diff --git a/TAO/tao/Wait_On_LF_No_Upcall.h b/TAO/tao/Wait_On_LF_No_Upcall.h
index e43a247c9da..99da44d0fd8 100644
--- a/TAO/tao/Wait_On_LF_No_Upcall.h
+++ b/TAO/tao/Wait_On_LF_No_Upcall.h
@@ -44,7 +44,7 @@ namespace TAO
explicit Wait_On_LF_No_Upcall (TAO_Transport *t);
/// Destructor.
- virtual ~Wait_On_LF_No_Upcall ();
+ virtual ~Wait_On_LF_No_Upcall () = default;
/*! @copydoc TAO_Wait_Strategy::wait() */
virtual int wait (ACE_Time_Value *max_wait_time,
diff --git a/TAO/tao/Wait_On_Leader_Follower.cpp b/TAO/tao/Wait_On_Leader_Follower.cpp
index 4491baac65e..348bf3b307f 100644
--- a/TAO/tao/Wait_On_Leader_Follower.cpp
+++ b/TAO/tao/Wait_On_Leader_Follower.cpp
@@ -13,10 +13,6 @@ TAO_Wait_On_Leader_Follower::TAO_Wait_On_Leader_Follower
{
}
-TAO_Wait_On_Leader_Follower::~TAO_Wait_On_Leader_Follower ()
-{
-}
-
int
TAO_Wait_On_Leader_Follower::register_handler ()
{
diff --git a/TAO/tao/Wait_On_Leader_Follower.h b/TAO/tao/Wait_On_Leader_Follower.h
index bac0563a481..c6c70802c12 100644
--- a/TAO/tao/Wait_On_Leader_Follower.h
+++ b/TAO/tao/Wait_On_Leader_Follower.h
@@ -42,7 +42,7 @@ public:
TAO_Wait_On_Leader_Follower (TAO_Transport *transport);
/// Destructor.
- virtual ~TAO_Wait_On_Leader_Follower ();
+ ~TAO_Wait_On_Leader_Follower () = default;
/*! @copydoc TAO_Wait_Strategy::sending_request() */
virtual int sending_request (TAO_ORB_Core *orb_core, TAO_Message_Semantics msg_semantics);
diff --git a/TAO/tao/Wait_On_Reactor.cpp b/TAO/tao/Wait_On_Reactor.cpp
index 4e73e0109f9..2394a6506a9 100644
--- a/TAO/tao/Wait_On_Reactor.cpp
+++ b/TAO/tao/Wait_On_Reactor.cpp
@@ -13,10 +13,6 @@ TAO_Wait_On_Reactor::TAO_Wait_On_Reactor (TAO_Transport *transport)
{
}
-TAO_Wait_On_Reactor::~TAO_Wait_On_Reactor ()
-{
-}
-
int
TAO_Wait_On_Reactor::wait (ACE_Time_Value *max_wait_time,
TAO_Synch_Reply_Dispatcher &rd)
diff --git a/TAO/tao/Wait_On_Reactor.h b/TAO/tao/Wait_On_Reactor.h
index b090ecaac34..40376d24348 100644
--- a/TAO/tao/Wait_On_Reactor.h
+++ b/TAO/tao/Wait_On_Reactor.h
@@ -33,7 +33,7 @@ public:
explicit TAO_Wait_On_Reactor (TAO_Transport *transport);
/// Destructor.
- virtual ~TAO_Wait_On_Reactor ();
+ virtual ~TAO_Wait_On_Reactor () = default;
/*! @copydoc TAO_Wait_Strategy::wait() */
virtual int wait (ACE_Time_Value *max_wait_time,
diff --git a/TAO/tao/Wait_On_Read.cpp b/TAO/tao/Wait_On_Read.cpp
index 0105e9ed5f4..92bcdba8467 100644
--- a/TAO/tao/Wait_On_Read.cpp
+++ b/TAO/tao/Wait_On_Read.cpp
@@ -15,11 +15,6 @@ TAO_Wait_On_Read::TAO_Wait_On_Read (TAO_Transport *transport)
{
}
-// Destructor.
-TAO_Wait_On_Read::~TAO_Wait_On_Read ()
-{
-}
-
int
TAO_Wait_On_Read::sending_request (TAO_ORB_Core *orb_core,
TAO_Message_Semantics msg_semantics)
diff --git a/TAO/tao/Wait_On_Read.h b/TAO/tao/Wait_On_Read.h
index e5a76c0750e..ebbfd949420 100644
--- a/TAO/tao/Wait_On_Read.h
+++ b/TAO/tao/Wait_On_Read.h
@@ -31,7 +31,7 @@ public:
explicit TAO_Wait_On_Read (TAO_Transport *transport);
/// Destructor.
- virtual ~TAO_Wait_On_Read ();
+ virtual ~TAO_Wait_On_Read () = default;
/*! @copydoc TAO_Wait_Strategy::sending_request() */
virtual int sending_request (TAO_ORB_Core *orb_core, TAO_Message_Semantics msg_semantics);
diff --git a/TAO/tao/Wait_Strategy.cpp b/TAO/tao/Wait_Strategy.cpp
index fc13c417789..fa0258db6c6 100644
--- a/TAO/tao/Wait_Strategy.cpp
+++ b/TAO/tao/Wait_Strategy.cpp
@@ -13,11 +13,6 @@ TAO_Wait_Strategy::TAO_Wait_Strategy (TAO_Transport *transport)
{
}
-// Destructor.
-TAO_Wait_Strategy::~TAO_Wait_Strategy ()
-{
-}
-
int
TAO_Wait_Strategy::defer_upcall (ACE_Event_Handler*)
{
diff --git a/TAO/tao/Wait_Strategy.h b/TAO/tao/Wait_Strategy.h
index 866ec9cb38e..c900be668fc 100644
--- a/TAO/tao/Wait_Strategy.h
+++ b/TAO/tao/Wait_Strategy.h
@@ -45,7 +45,7 @@ public:
explicit TAO_Wait_Strategy (TAO_Transport *transport);
/// Destructor.
- virtual ~TAO_Wait_Strategy ();
+ virtual ~TAO_Wait_Strategy () = default;
/**
* The user is going to send a request, prepare any internal