X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FAuthor.cpp;h=6c608327e135c0d2e12ecc25569a2059af2ac640;hb=80b058cb18c17b9632faad5cb2e384d9ec9806d4;hp=f4658e61269d020395d5e8d824d3be37ed86c2ce;hpb=6b2232a29c682d8e62d1d2b963bb1a70bee4330b;p=lyx.git diff --git a/src/Author.cpp b/src/Author.cpp index f4658e6126..6c608327e1 100644 --- a/src/Author.cpp +++ b/src/Author.cpp @@ -102,6 +102,7 @@ int AuthorList::record(Author const & a) void AuthorList::record(int id, Author const & a) { + // LASSERT: What should we do here? LASSERT(unsigned(id) < authors_.size(), /**/); authors_[id] = a; @@ -117,6 +118,7 @@ void AuthorList::recordCurrentAuthor(Author const & a) Author const & AuthorList::get(int id) const { + // LASSERT: What should we do here? LASSERT(id < (int)authors_.size() , /**/); return authors_[id]; }