X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FWordList.cpp;h=27d7b31d001c84ec40fa889f022100734195f095;hb=30eb6dfaebe1df2b38bcc4e69302a5ad2c2d1952;hp=9bc52accea3461fd20f7d825d1a7e4e95519199b;hpb=9a9288d67dac1cdbd76372b1c0e0b7a25708cc09;p=lyx.git diff --git a/src/WordList.cpp b/src/WordList.cpp index 9bc52accea..27d7b31d00 100644 --- a/src/WordList.cpp +++ b/src/WordList.cpp @@ -75,7 +75,7 @@ docstring const & WordList::word(size_t idx) const { Impl::Words::const_iterator it = d->words_.find_summed_weight(idx); 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. // If we returned the first component of those here, we get an