summaryrefslogtreecommitdiff
path: root/codemaker/source/javamaker/classfile.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker/source/javamaker/classfile.hxx')
-rw-r--r--codemaker/source/javamaker/classfile.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/codemaker/source/javamaker/classfile.hxx b/codemaker/source/javamaker/classfile.hxx
index be6e3a36abe4..179fea21ef77 100644
--- a/codemaker/source/javamaker/classfile.hxx
+++ b/codemaker/source/javamaker/classfile.hxx
@@ -24,6 +24,7 @@
#include <sal/types.h>
#include <map>
+#include <memory>
#include <utility>
#include <vector>
@@ -107,7 +108,7 @@ public:
void instrTableswitch(
Code const * defaultBlock, sal_Int32 low,
- std::vector< Code * > const & blocks);
+ std::vector< std::unique_ptr<Code> > const & blocks);
void loadIntegerConstant(sal_Int32 value);
void loadStringConstant(rtl::OString const & value);