diff options
Diffstat (limited to 'codemaker/source/cppumaker/cpputype.cxx')
-rw-r--r-- | codemaker/source/cppumaker/cpputype.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx index 47aab6c356c9..6432baee05d6 100644 --- a/codemaker/source/cppumaker/cpputype.cxx +++ b/codemaker/source/cppumaker/cpputype.cxx @@ -3359,9 +3359,9 @@ void includeExceptions( if (node->present) { includes.add(node->name); } else { - for (codemaker::ExceptionTreeNode* pChild : node->children) + for (std::unique_ptr<codemaker::ExceptionTreeNode> const & pChild : node->children) { - includeExceptions(includes, pChild); + includeExceptions(includes, pChild.get()); } } } @@ -3713,9 +3713,9 @@ void ServiceType::dumpCatchClauses( out << indent() << "throw;\n"; dec(); } else { - for (codemaker::ExceptionTreeNode* pChild : node->children) + for (std::unique_ptr<codemaker::ExceptionTreeNode> const & pChild : node->children) { - dumpCatchClauses(out, pChild); + dumpCatchClauses(out, pChild.get()); } } } |