diff options
Diffstat (limited to 'include/codemaker')
-rw-r--r-- | include/codemaker/exceptiontree.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/codemaker/exceptiontree.hxx b/include/codemaker/exceptiontree.hxx index 8058cc8dcb29..7118006ef71b 100644 --- a/include/codemaker/exceptiontree.hxx +++ b/include/codemaker/exceptiontree.hxx @@ -24,6 +24,7 @@ #include <rtl/ref.hxx> #include <rtl/string.hxx> +#include <memory> #include <vector> class TypeManager; @@ -34,7 +35,7 @@ namespace codemaker { Represents a node of the hierarchy from the ExceptionTree class. */ struct ExceptionTreeNode { - typedef std::vector< ExceptionTreeNode * > Children; + typedef std::vector< std::unique_ptr<ExceptionTreeNode> > Children; // Internally used by ExceptionTree: ExceptionTreeNode(rtl::OString const & theName): |