From 8317371f24cc0d81c000484be6192ce8b4751713 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Tue, 4 Sep 2018 07:39:34 +0200 Subject: [PATCH] LTRResultIterator --- src/ccmain/ltrresultiterator.cpp | 3 +++ 1 file changed, 3 insertions(+) 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