X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FErrorList.cpp;h=f84d17a3a67ea563946e8c119b01b5372ba44dda;hb=0c7bd9a57f2a308bb9659200eda3b7e45f8d5d3c;hp=a9e1212203b45ef84ad51ad691293a5bf7f289b0;hpb=f630be890494c849981e4fb52ea4740506e92bed;p=lyx.git diff --git a/src/ErrorList.cpp b/src/ErrorList.cpp index a9e1212203..f84d17a3a6 100644 --- a/src/ErrorList.cpp +++ b/src/ErrorList.cpp @@ -12,20 +12,21 @@ #include "ErrorList.h" +using namespace std; namespace lyx { -using std::string; ErrorItem::ErrorItem(docstring const & error_, docstring const & description_, - int par_id_, pos_type pos_start_, pos_type pos_end_) + int par_id_, pos_type pos_start_, pos_type pos_end_, + Buffer const * buffer_) : error(error_), description(description_), par_id(par_id_), - pos_start(pos_start_), pos_end(pos_end_) + pos_start(pos_start_), pos_end(pos_end_), buffer(buffer_) {} ErrorItem::ErrorItem() - : par_id(-1), pos_start(0), pos_end(0) + : par_id(-1), pos_start(0), pos_end(0), buffer(0) {}