diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-12-19 17:12:05 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-02-25 13:45:49 +0300 |
commit | fea8db080353e408a38ad9b66b50b1c9dfaf96de (patch) | |
tree | 19c060eb9d6b66104f3bff3e5ea940dd7441c74d /libxsd/xsd/cxx/xml/dom/auto-ptr.hxx | |
parent | 5e527213a2430bb3018e5eebd909aef294edf9b5 (diff) |
Various fixes
Diffstat (limited to 'libxsd/xsd/cxx/xml/dom/auto-ptr.hxx')
-rw-r--r-- | libxsd/xsd/cxx/xml/dom/auto-ptr.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libxsd/xsd/cxx/xml/dom/auto-ptr.hxx b/libxsd/xsd/cxx/xml/dom/auto-ptr.hxx index 97c9399..256f824 100644 --- a/libxsd/xsd/cxx/xml/dom/auto-ptr.hxx +++ b/libxsd/xsd/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) { |