Continuing here will crash us. This shouldn't be an issue, but

it seems worth doing something sensible.
This commit is contained in:
Richard Heck 2013-03-27 14:45:16 -04:00
parent f4b24e8f87
commit 7a6b717f5e

View File

@ -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;
}