summaryrefslogtreecommitdiff
path: root/libxsd/xsd/cxx/tree/ostream.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libxsd/xsd/cxx/tree/ostream.hxx')
-rw-r--r--libxsd/xsd/cxx/tree/ostream.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/libxsd/xsd/cxx/tree/ostream.hxx b/libxsd/xsd/cxx/tree/ostream.hxx
index 7d8711e..fde681e 100644
--- a/libxsd/xsd/cxx/tree/ostream.hxx
+++ b/libxsd/xsd/cxx/tree/ostream.hxx
@@ -8,9 +8,11 @@
#include <map>
#include <string>
-#include <memory> // std::auto_ptr
+#include <memory> // std::auto_ptr/unique_ptr
#include <cstddef> // std::size_t
+#include <xsd/cxx/config.hxx> // XSD_AUTO_PTR
+
namespace xsd
{
namespace cxx
@@ -187,7 +189,7 @@ namespace xsd
S& s_;
std::size_t seq_;
- std::auto_ptr<pool> pool_;
+ XSD_AUTO_PTR<pool> pool_;
};