mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Bugfix: LLVM compiler warnings
This commit is contained in:
@ -858,7 +858,7 @@ PDFTextBlock::PDFTextBlock(PDFTextLines textLines) :
|
||||
const PDFReal xR = br.x();
|
||||
const PDFReal yL = qRound(bl.y() * 100.0);
|
||||
const PDFReal yR = qRound(br.y() * 100.0);
|
||||
return std::tie(-yL, xL) < std::tie(-yR, xR);
|
||||
return std::make_pair(-yL, xL) < std::make_pair(-yR, xR);
|
||||
};
|
||||
std::sort(m_lines.begin(), m_lines.end(), sortFunction);
|
||||
|
||||
|
Reference in New Issue
Block a user