From 818bcfa0dbbc1ef48bc3fe1f0c14d12866c51ef2 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 19 Dec 2020 17:12:05 +0300 Subject: Various fixes --- libxsd/libxsd/cxx/xml/dom/auto-ptr.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libxsd/libxsd/cxx/xml/dom') 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 unique_ptr (unique_ptr&& p): base (std::move (p)) {} + +#if !defined(__cplusplus) || __cplusplus < 201703L template unique_ptr (std::auto_ptr&& p): base (std::move (p)) {} +#endif unique_ptr& operator= (unique_ptr&& p) { -- cgit v1.1