X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ferrorlist.C;h=e3f19044b21500c60d3896c5da6b2f1b33e78ad3;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=d829f04c4f573c5766f102362b7399201243f04a;hpb=120e59bc97aa77082c8cccbda62c2f4f2cae9be7;p=lyx.git diff --git a/src/errorlist.C b/src/errorlist.C index d829f04c4f..e3f19044b2 100644 --- a/src/errorlist.C +++ b/src/errorlist.C @@ -12,11 +12,12 @@ #include "errorlist.h" -using lyx::pos_type; -using std::string; +namespace lyx { + +using std::string; -ErrorItem::ErrorItem(string const & error_, string const & description_, +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_) @@ -24,5 +25,8 @@ ErrorItem::ErrorItem(string const & error_, string const & description_, ErrorItem::ErrorItem() - : par_id(-1), pos_start(0), pos_end(0) + : par_id(-1), pos_start(0), pos_end(0) {} + + +} // namespace lyx