summaryrefslogtreecommitdiff
path: root/ACE/ace/XML_Utils/XSCRT/Elements.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/XML_Utils/XSCRT/Elements.hpp')
-rw-r--r--ACE/ace/XML_Utils/XSCRT/Elements.hpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/ACE/ace/XML_Utils/XSCRT/Elements.hpp b/ACE/ace/XML_Utils/XSCRT/Elements.hpp
index 5395a2a930a..cb9cdec2d90 100644
--- a/ACE/ace/XML_Utils/XSCRT/Elements.hpp
+++ b/ACE/ace/XML_Utils/XSCRT/Elements.hpp
@@ -148,11 +148,7 @@ namespace XSCRT
{
if (map_.get () == 0)
{
-#if defined (ACE_HAS_CPP11)
map_ = std::unique_ptr<Map_> (new Map_);
-#else
- map_ = std::auto_ptr<Map_> (new Map_);
-#endif /* ACE_HAS_CPP11 */
}
if (!map_->insert (std::pair<IdentityProvider const*, Type*> (&id, t)).second)
@@ -266,11 +262,7 @@ namespace XSCRT
std::map<IdentityProvider const*, Type*, IdentityComparator>
Map_;
-#if defined (ACE_HAS_CPP11)
std::unique_ptr<Map_> map_;
-#else
- std::auto_ptr<Map_> map_;
-#endif /* ACE_HAS_CPP11 */
};
// Fundamental types template.