diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-12-19 17:12:05 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-02-24 22:20:33 +0300 |
commit | fe18c518cf476ea5a2c3eede8bf6b994ec3105f2 (patch) | |
tree | 16f5ebb14ce1bd541412bf375ba5a44b5341c6b1 /libxsd/xsd/cxx/xml/dom/auto-ptr.hxx | |
parent | a8ce5c380c69539fe0c7c62c397634d9d0c9fde2 (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) { |