summaryrefslogtreecommitdiff
path: root/helpcompiler/inc/HelpLinker.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'helpcompiler/inc/HelpLinker.hxx')
-rw-r--r--helpcompiler/inc/HelpLinker.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/helpcompiler/inc/HelpLinker.hxx b/helpcompiler/inc/HelpLinker.hxx
index 8be1b4a49889..7fce510bb774 100644
--- a/helpcompiler/inc/HelpLinker.hxx
+++ b/helpcompiler/inc/HelpLinker.hxx
@@ -61,7 +61,6 @@ public:
{}
~HelpLinker()
{
- delete m_pIndexerPreProcessor;
}
private:
@@ -82,7 +81,7 @@ private:
std::string extensionDestination;
bool bExtensionMode;
fs::path indexDirParentName;
- IndexerPreProcessor* m_pIndexerPreProcessor;
+ std::unique_ptr<IndexerPreProcessor> m_pIndexerPreProcessor;
bool m_bUseLangRoot;
bool m_bCreateIndex;
void initIndexerPreProcessor();