]> git.lyx.org Git - lyx.git/blobdiff - src/errorlist.h
64 bit compile fixes.
[lyx.git] / src / errorlist.h
index 92e5260cf6caec9a0b621a7a0ce8e7bf421bc23a..52e79a5ee290f9c81c075a263c669239031be971 100644 (file)
 #ifndef ERRORLIST_H
 #define ERRORLIST_H
 
-#include "support/std_string.h"
+#include "support/types.h"
 
 #include <vector>
+#include <string>
 
 class Buffer;
 
 /// A class to hold an error item
 struct ErrorItem {
-       string error;
-       string description;
+       std::string error;
+       std::string description;
        int par_id;
-       int pos_start;
-       int pos_end;
-       ErrorItem(string const & error, string const & description,
-                 int parid, int posstart, int posend);
+       lyx::pos_type pos_start;
+       lyx::pos_type pos_end;
+       ErrorItem(std::string const & error, std::string const & description,
+                 int parid, lyx::pos_type posstart, lyx::pos_type posend);
        ErrorItem();
 };