On 25/09/2008 13:37, Pavel Sanda wrote:
Vincent van Ravesteijn wrote:
+                               LASSERT(pit<  paragraphs().size(), /**/);
+                               LASSERT( pit<  paragraphs().size(), /**/ );
+                       LASSERT(cur.pit()>= 0&&  cur.pit()<  
paragraphs().size(), /**/);

btw gcc gives warnings about those lines (comparison between signed and 
unsigned integer expressions).

Make that a pit<  int(paragraphs().size()). But this kind of assertion is not 
needed, this is already detected in debug mode by the stl.

Abdel.



Reply via email to