X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FErrorList.h;h=276cd267944dd90d21386c668490deb059bcaa57;hb=bc1672f6a0fc8ae64f7938cf2905071987bcb138;hp=e58c47d0f043fce7b6283d69794411dae856d7e2;hpb=f630be890494c849981e4fb52ea4740506e92bed;p=lyx.git diff --git a/src/ErrorList.h b/src/ErrorList.h index e58c47d0f0..276cd26794 100644 --- a/src/ErrorList.h +++ b/src/ErrorList.h @@ -13,9 +13,9 @@ #define ERRORLIST_H #include "support/docstring.h" +#include "support/types.h" #include -#include namespace lyx { @@ -30,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(); }; @@ -39,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;