summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/XML_Loader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/XML_Loader.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/XML_Loader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/XML_Loader.cpp b/TAO/orbsvcs/orbsvcs/Notify/XML_Loader.cpp
index 5285d07672b..a0c4b0c7f22 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/XML_Loader.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/XML_Loader.cpp
@@ -77,7 +77,7 @@ namespace TAO_Notify
if (result)
{
this->live_ = false;
- auto_ptr<ACEXML_FileCharStream> fstm (new ACEXML_FileCharStream);
+ std::unique_ptr<ACEXML_FileCharStream> fstm (new ACEXML_FileCharStream);
// xml input source will take ownership
if (fstm->open (this->file_name_.c_str ()) == 0)
@@ -127,7 +127,7 @@ namespace TAO_Notify
ACE_ASSERT (root != 0);
this->live_ = true;
- auto_ptr<ACEXML_FileCharStream> fstm (new ACEXML_FileCharStream);
+ std::unique_ptr<ACEXML_FileCharStream> fstm (new ACEXML_FileCharStream);
// xml input source will take ownership
if (fstm->open (this->file_name_.c_str ()) == 0)