Skip to content

Fix warning generated by clang in OCR module

Hennadii Chernyshchyk requested to merge make-clang-happy into master

Created by: VolkMilit

Fix two warning generated by newer (?) clang:

  1. std::vector::size returns unsigned long, but QList::reserve has an int argument; solution: using static_cast
  2. Use range-based for loop instead of old-style for (int i = 0; ...)

Merge request reports

Loading