X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FErrorList.h;h=276cd267944dd90d21386c668490deb059bcaa57;hb=158b9a0e551144ca357d6635af9cddcc446bb91f;hp=e5ccdce7ad698d0f6f552f6081cbccf758f28b63;hpb=660d86948a943d6c7f13f9f4db63d1af3a88a379;p=lyx.git diff --git a/src/ErrorList.h b/src/ErrorList.h index e5ccdce7ad..276cd26794 100644 --- a/src/ErrorList.h +++ b/src/ErrorList.h @@ -16,7 +16,6 @@ #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;