fix quasi-typo in for loop range expression now detected by gcc10
This commit is contained in:
parent
1795320873
commit
9ae0992296
@ -571,7 +571,7 @@ pair<int,int> ResList::parnumfromdocnum(int docnum)
|
||||
return {-1, -1};
|
||||
}
|
||||
docnum -= winfirst;
|
||||
for (const auto& entry : m_pageParaToReldocnums.begin()) {
|
||||
for (const auto& entry : m_pageParaToReldocnums) {
|
||||
if (docnum == entry.second) {
|
||||
int first = entry.first;
|
||||
int last = first+1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user