]> git.lyx.org Git - lyx.git/blob - src/errorlist.C
fix mathed crash
[lyx.git] / src / errorlist.C
1 /**
2  * \file errorlist.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Alfredo Braunstein
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include "errorlist.h"
14
15 using std::string;
16
17
18 ErrorItem::ErrorItem(string const & error, string const & description,
19                      int par_id, int pos_start, int pos_end)
20         : error(error), description(description), par_id(par_id),
21           pos_start(pos_start),  pos_end(pos_end)
22 {}
23
24
25 ErrorItem::ErrorItem()
26         : par_id(-1),  pos_start(0),  pos_end(0)
27 {}