Fix crash during abstract generation, occuring when no matching fragments are found
This commit is contained in:
parent
1f8afa4e2d
commit
b69912bfab
@ -272,6 +272,9 @@ public:
|
||||
// (phrase/near), they are dear to the user's heart. list are
|
||||
// sorted, so we never go back in the fragment list (can
|
||||
// always start the search where we previously stopped).
|
||||
if (m_fragments.empty()) {
|
||||
return;
|
||||
}
|
||||
auto fragit = m_fragments.begin();
|
||||
for (const auto& grpmatch : tboffs) {
|
||||
LOGDEB2("LOOKING FOR FRAGMENT: group: " << grpmatch.offs.first <<
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user