X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FWordList.cpp;h=762e1b93c620411af87688dea91cbe0267eb2612;hb=4db3e641ed6765e005343010cb90ee8af26f8f99;hp=96b7c35ea798c91a7a2726a0d28c1f61a82b694e;hpb=6b2232a29c682d8e62d1d2b963bb1a70bee4330b;p=lyx.git diff --git a/src/WordList.cpp b/src/WordList.cpp index 96b7c35ea7..762e1b93c6 100644 --- a/src/WordList.cpp +++ b/src/WordList.cpp @@ -84,7 +84,7 @@ WordList::~WordList() docstring const & WordList::word(size_t idx) const { Impl::Words::const_iterator it = d->words_.find_summed_weight(idx); - LASSERT(it != d->words_.end(), /**/); + LASSERT(it != d->words_.end(), { static docstring dummy; return dummy; }); // We use the key() method here, and not something like it->first // because the btree only returns (iterator-) temporary value pairs.