X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ferrorlist.C;h=e3f19044b21500c60d3896c5da6b2f1b33e78ad3;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=3052ba49f8d96c8bec745a211dcd54517ad4ea6f;hpb=44cd0fc9a1687cc63911c7f98d978594458e7813;p=lyx.git diff --git a/src/errorlist.C b/src/errorlist.C index 3052ba49f8..e3f19044b2 100644 --- a/src/errorlist.C +++ b/src/errorlist.C @@ -12,16 +12,21 @@ #include "errorlist.h" -using std::string; +namespace lyx { + +using std::string; -ErrorItem::ErrorItem(string const & error, string const & description, - int par_id, int pos_start, int pos_end) - : error(error), description(description), par_id(par_id), - pos_start(pos_start), pos_end(pos_end) +ErrorItem::ErrorItem(docstring const & error_, docstring const & description_, + int par_id_, pos_type pos_start_, pos_type pos_end_) + : error(error_), description(description_), par_id(par_id_), + pos_start(pos_start_), pos_end(pos_end_) {} ErrorItem::ErrorItem() - : par_id(-1), pos_start(0), pos_end(0) + : par_id(-1), pos_start(0), pos_end(0) {} + + +} // namespace lyx