/**
* \file changes.C
- * Copyright 2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * Record changes in a paragraph.
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS.
*
- * \author John Levon <levon@movementarian.org>
+ * Record changes in a paragraph.
*/
#include <config.h>
#include "changes.h"
#include "debug.h"
-#include "author.h"
-#include "support/LAssert.h"
-#include "support/LOstream.h"
+#include <boost/assert.hpp>
-using std::vector;
-using std::endl;
using lyx::pos_type;
+using std::endl;
+using std::string;
+
+
bool operator==(Change const & l, Change const & r)
{
return l.type == r.type && l.author == r.author
}
check();
- lyx::Assert(0);
+ BOOST_ASSERT(false);
return Change(Change::UNCHANGED);
}
}
check();
- lyx::Assert(0);
+ BOOST_ASSERT(0);
return Change::UNCHANGED;
}
if (lyxerr.debugging(Debug::CHANGES))
lyxerr[Debug::CHANGES] << "End" << endl;
- lyx::Assert(dont_assert);
+ BOOST_ASSERT(dont_assert);
}