]> git.lyx.org Git - lyx.git/blobdiff - src/errorlist.C
hopefully fix tex2lyx linking.
[lyx.git] / src / errorlist.C
index 89bc1c1ee2e37f6eb1be64de6d283a07a5146dc7..e3f19044b21500c60d3896c5da6b2f1b33e78ad3 100644 (file)
 
 #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_)
@@ -26,3 +27,6 @@ ErrorItem::ErrorItem(string const & error_, string const & description_,
 ErrorItem::ErrorItem()
        : par_id(-1), pos_start(0), pos_end(0)
 {}
+
+
+} // namespace lyx