Kaydet (Commit) eff28f0c authored tarafından Philipp Lohmann [pl]'s avatar Philipp Lohmann [pl]

vcl119: #i116227# remove an invalid assertion

üst f8f4d2dc
--- misc/silgraphite-2.3.1/engine/src/segment/SegmentAux.cpp 2008-08-21 16:24:32.000000000 +0200
+++ misc/build/silgraphite-2.3.1/engine/src/segment/SegmentAux.cpp 2011-02-21 13:22:23.159834368 +0100
@@ -247,7 +247,9 @@
GlyphSetIterator::reference GlyphSetIterator::operator*() const
{
assert(m_pseg != 0);
- assert(m_vit != std::vector<int>::const_iterator());
+ // #i116227# the check below is well meant but breaks itself when using stlport with debug facilities
+ // a valid iterator cannot be compared to an empty one in that case
+ // assert(m_vit != std::vector<int>::const_iterator());
// in the case of a non-contiguous list
return m_pseg->m_prgginf[(*m_vit) - m_pseg->m_isloutGinf0];
}
......@@ -47,7 +47,7 @@ all:
.IF "$(ENABLE_GRAPHITE)"=="TRUE"
TARFILE_NAME=silgraphite-2.3.1
TARFILE_MD5=d35724900f6a4105550293686688bbb3
PATCH_FILES=graphite-2.3.1.patch
PATCH_FILES=graphite-2.3.1.patch graphite-2.3.1_debug.patch
# convert line-endings to avoid problems when patching
CONVERTFILES=\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment