summaryrefslogtreecommitdiff
path: root/TAO/tao/Connect_Strategy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Connect_Strategy.cpp')
-rw-r--r--TAO/tao/Connect_Strategy.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tao/Connect_Strategy.cpp b/TAO/tao/Connect_Strategy.cpp
index 1410e5f1fcd..5f5496f9756 100644
--- a/TAO/tao/Connect_Strategy.cpp
+++ b/TAO/tao/Connect_Strategy.cpp
@@ -12,7 +12,7 @@ TAO_Connect_Strategy::TAO_Connect_Strategy (TAO_ORB_Core *orb_core)
}
-TAO_Connect_Strategy::~TAO_Connect_Strategy (void)
+TAO_Connect_Strategy::~TAO_Connect_Strategy ()
{
}
@@ -20,7 +20,7 @@ int
TAO_Connect_Strategy::wait (TAO_Connection_Handler *ch,
ACE_Time_Value *max_wait_time)
{
- if (ch == 0)
+ if (ch == nullptr)
return -1;
return this->wait_i (ch, ch->transport (), max_wait_time);
@@ -32,7 +32,7 @@ TAO_Connect_Strategy::wait (TAO_Transport *t, ACE_Time_Value *max_wait_time)
// Basically the connection was EINPROGRESS, but before we could
// wait for it some other thread detected a failure and cleaned up
// the connection handler.
- if (t == 0)
+ if (t == nullptr)
return -1;
return this->wait_i (t->connection_handler (), t, max_wait_time);