X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FErrorList.h;h=276cd267944dd90d21386c668490deb059bcaa57;hb=22d52f5f08cba82c85019634420f4204da56ec6b;hp=f8814208163b4aa18bd8d31a9a3ba3cff10393c7;hpb=a5263e0f927034885870a65053ef3908d1c6f885;p=lyx.git diff --git a/src/ErrorList.h b/src/ErrorList.h index f881420816..276cd26794 100644 --- a/src/ErrorList.h +++ b/src/ErrorList.h @@ -12,11 +12,10 @@ #ifndef ERRORLIST_H #define ERRORLIST_H -#include "support/types.h" #include "support/docstring.h" +#include "support/types.h" #include -#include namespace lyx { @@ -31,8 +30,10 @@ public: int par_id; pos_type pos_start; pos_type pos_end; + Buffer const * buffer; ErrorItem(docstring const & error, docstring const & description, - int parid, pos_type posstart, pos_type posend); + int parid, pos_type posstart, pos_type posend, + Buffer const * buf = 0); ErrorItem(); }; @@ -40,7 +41,7 @@ public: class ErrorList : private std::vector { public: - ErrorList() : std::vector () {}; + ErrorList() : std::vector () {} using std::vector::push_back; using std::vector::end;