diff --git a/src/ccmain/pagewalk.cpp b/src/ccmain/pagewalk.cpp index a6dc0548..a02fe5f4 100644 --- a/src/ccmain/pagewalk.cpp +++ b/src/ccmain/pagewalk.cpp @@ -28,9 +28,9 @@ namespace tesseract { * to each word that overlaps the selection_box. */ void Tesseract::process_selected_words( - PAGE_RES* page_res, // blocks to check - TBOX & selection_box, - BOOL8(tesseract::Tesseract::*word_processor)(PAGE_RES_IT* pr_it)) { + PAGE_RES* page_res, // blocks to check + TBOX& selection_box, + bool (tesseract::Tesseract::* word_processor)(PAGE_RES_IT* pr_it)) { for (PAGE_RES_IT page_res_it(page_res); page_res_it.word() != nullptr; page_res_it.forward()) { WERD* word = page_res_it.word()->word;