]> git.lyx.org Git - lyx.git/blobdiff - src/Author.cpp
Fix bug #4510: GuiInclude->Edit marks master as changed.
[lyx.git] / src / Author.cpp
index 4f2f13f7f93251a9bb6a224566f241aa1d6abd0d..c2dc6eeb29bed6771c3689ec4b90de08becb4b24 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "support/lstrings.h"
 
-#include <boost/assert.hpp>
+#include "support/lassert.h"
 
 #include <istream>
 
@@ -71,7 +71,7 @@ int AuthorList::record(Author const & a)
 
 void AuthorList::record(int id, Author const & a)
 {
-       BOOST_ASSERT(unsigned(id) < authors_.size());
+       LASSERT(unsigned(id) < authors_.size(), /**/);
 
        authors_[id] = a;
 }
@@ -80,7 +80,7 @@ void AuthorList::record(int id, Author const & a)
 Author const & AuthorList::get(int id) const
 {
        Authors::const_iterator it(authors_.find(id));
-       BOOST_ASSERT(it != authors_.end());
+       LASSERT(it != authors_.end(), /**/);
        return it->second;
 }