mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Continuing here will crash us. This shouldn't be an issue, but
it seems worth doing something sensible.
This commit is contained in:
parent
f4b24e8f87
commit
7a6b717f5e
@ -105,7 +105,7 @@ Toc const & TocBackend::toc(string const & type) const
|
||||
{
|
||||
// Is the type already supported?
|
||||
TocList::const_iterator it = tocs_.find(type);
|
||||
LASSERT(it != tocs_.end(), /**/);
|
||||
LASSERT(it != tocs_.end(), { static Toc dummy; return dummy; });
|
||||
|
||||
return it->second;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user