[Uml-devel] KDE/kdesdk/umbrello/umbrello/codeimport/kdevcppparser

Thiago Macieira thiago at kde.org
Mon Mar 24 10:33:24 UTC 2008


SVN commit 789451 by thiago:

Fix compilation: file_position is about 'char', but we're using QChar in the lexer


 M  +2 -1      position.h  


--- trunk/KDE/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/position.h #789450:789451
@@ -22,8 +22,9 @@
 
 #include <limits.h>             // Boost spirit headers aren't self-contained
 #include <boost/spirit.hpp>
+#include <QChar>
 
-typedef boost::spirit::file_position Position;
+typedef boost::spirit::file_position_base<std::basic_string<QChar> > Position;
 
 inline bool operator<( Position const& p1, Position const& p2) {
   assert( p1.file == p2.file);




More information about the umbrello-devel mailing list