summaryrefslogtreecommitdiff
path: root/libxsd/libxsd/cxx/xml/dom/auto-ptr.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-12-19 17:12:05 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-01-13 22:32:44 +0300
commit818bcfa0dbbc1ef48bc3fe1f0c14d12866c51ef2 (patch)
tree08439f9422ff739e6b6e69f8f4623725a5ee367d /libxsd/libxsd/cxx/xml/dom/auto-ptr.hxx
parent2615896faa646e5830abf2c269150e1165c66515 (diff)
Various fixes
Diffstat (limited to 'libxsd/libxsd/cxx/xml/dom/auto-ptr.hxx')
-rw-r--r--libxsd/libxsd/cxx/xml/dom/auto-ptr.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libxsd/libxsd/cxx/xml/dom/auto-ptr.hxx b/libxsd/libxsd/cxx/xml/dom/auto-ptr.hxx
index 4e19547..228391e 100644
--- a/libxsd/libxsd/cxx/xml/dom/auto-ptr.hxx
+++ b/libxsd/libxsd/cxx/xml/dom/auto-ptr.hxx
@@ -53,8 +53,11 @@ namespace xsd
unique_ptr (unique_ptr&& p): base (std::move (p)) {}
template <class T1>
unique_ptr (unique_ptr<T1>&& p): base (std::move (p)) {}
+
+#if !defined(__cplusplus) || __cplusplus < 201703L
template <class T1>
unique_ptr (std::auto_ptr<T1>&& p): base (std::move (p)) {}
+#endif
unique_ptr& operator= (unique_ptr&& p)
{