diff --git a/src/ccmain/ltrresultiterator.cpp b/src/ccmain/ltrresultiterator.cpp index 8ae38501ff..0c08e081bb 100644 --- a/src/ccmain/ltrresultiterator.cpp +++ b/src/ccmain/ltrresultiterator.cpp @@ -37,6 +37,9 @@ LTRResultIterator::LTRResultIterator(PAGE_RES* page_res, Tesseract* tesseract, paragraph_separator_("\n") { } +// Destructor. +// It is defined here, so the compiler can create a single vtable +// instead of weak vtables in every compilation unit. LTRResultIterator::~LTRResultIterator() = default; // Returns the null terminated UTF-8 encoded text string for the current