summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-12-08 12:14:44 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-12-08 12:14:44 +0100
commita2a22b58ede100a0d64266ec1838936cd94b6dd7 (patch)
treeed41077207c4106999ac85771aee42667bbf545a /TAO/orbsvcs
parente6440b46fd8fb6c5fd2346f735fe2f2c9eccb914 (diff)
downloadATCD-a2a22b58ede100a0d64266ec1838936cd94b6dd7.tar.gz
Use std::unique_ptr
* TAO/orbsvcs/orbsvcs/Log/EventLogFactory_i.cpp: * TAO/orbsvcs/orbsvcs/Log/RTEventLogFactory_i.cpp: * TAO/orbsvcs/orbsvcs/Notify/ETCL_Filter.cpp:
Diffstat (limited to 'TAO/orbsvcs')
-rw-r--r--TAO/orbsvcs/orbsvcs/Log/EventLogFactory_i.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Log/RTEventLogFactory_i.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/ETCL_Filter.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Log/EventLogFactory_i.cpp b/TAO/orbsvcs/orbsvcs/Log/EventLogFactory_i.cpp
index 2784a69e1c7..699fbea3d93 100644
--- a/TAO/orbsvcs/orbsvcs/Log/EventLogFactory_i.cpp
+++ b/TAO/orbsvcs/orbsvcs/Log/EventLogFactory_i.cpp
@@ -45,7 +45,7 @@ TAO_EventLogFactory_i::init (PortableServer::POA_ptr /* poa */)
CosEventChannelAdmin::EventChannel_var ec_return;
- unique_ptr <TAO_CEC_EventChannel> ec (impl);
+ std::unique_ptr <TAO_CEC_EventChannel> ec (impl);
PortableServer::ObjectId_var oid =
this->poa_->activate_object (ec.get ());
diff --git a/TAO/orbsvcs/orbsvcs/Log/RTEventLogFactory_i.cpp b/TAO/orbsvcs/orbsvcs/Log/RTEventLogFactory_i.cpp
index c93fdbad60e..8a6a6d1949b 100644
--- a/TAO/orbsvcs/orbsvcs/Log/RTEventLogFactory_i.cpp
+++ b/TAO/orbsvcs/orbsvcs/Log/RTEventLogFactory_i.cpp
@@ -46,7 +46,7 @@ TAO_RTEventLogFactory_i::init (CORBA::ORB_ptr orb,
TAO_EC_Event_Channel (attr),
CORBA::NO_MEMORY ());
- unique_ptr <TAO_EC_Event_Channel> ec (impl);
+ std::unique_ptr <TAO_EC_Event_Channel> ec (impl);
impl->activate ();
diff --git a/TAO/orbsvcs/orbsvcs/Notify/ETCL_Filter.cpp b/TAO/orbsvcs/orbsvcs/Notify/ETCL_Filter.cpp
index 2c6663f2621..d9062cf5dc7 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/ETCL_Filter.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/ETCL_Filter.cpp
@@ -147,7 +147,7 @@ TAO_Notify_ETCL_Filter::add_constraint_i (CosNotifyFilter::ConstraintID cnstr_id
ACE_NEW_THROW_EX (notify_constr_expr,
TAO_Notify_Constraint_Expr (),
CORBA::NO_MEMORY ());
- unique_ptr <TAO_Notify_Constraint_Expr> auto_expr (notify_constr_expr);
+ std::unique_ptr <TAO_Notify_Constraint_Expr> auto_expr (notify_constr_expr);
if (TAO_debug_level > 1)
ORBSVCS_DEBUG ((LM_DEBUG,
@@ -172,7 +172,7 @@ TAO_Notify_ETCL_Filter::add_constraint_i
ACE_NEW_THROW_EX (notify_constr_expr,
TAO_Notify_Constraint_Expr (),
CORBA::NO_MEMORY ());
- unique_ptr <TAO_Notify_Constraint_Expr> auto_expr (notify_constr_expr);
+ std::unique_ptr <TAO_Notify_Constraint_Expr> auto_expr (notify_constr_expr);
CosNotifyFilter::ConstraintExp const & expr =
constraint.constraint_expression;