#include "author.h"
-#include "support/LAssert.h"
-#include "support/std_istream.h"
#include "support/lstrings.h"
-using namespace lyx::support;
+#include <boost/assert.hpp>
+
+#include "support/std_istream.h"
+
+
+namespace lyx {
+
+using support::token;
+using support::trim;
+
+using std::string;
+
bool operator==(Author const & l, Author const & r)
{
void AuthorList::record(int id, Author const & a)
{
- Assert(unsigned(id) < authors_.size());
+ BOOST_ASSERT(unsigned(id) < authors_.size());
authors_[id] = a;
}
Author const & AuthorList::get(int id)
{
Authors::const_iterator it(authors_.find(id));
- Assert(it != authors_.end());
+ BOOST_ASSERT(it != authors_.end());
return it->second;
}
{
return authors_.end();
}
+
+
+} // namespace lyx