diff options
Diffstat (limited to 'graphics/tulip/files/patch-SimpleVector.h')
-rw-r--r-- | graphics/tulip/files/patch-SimpleVector.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/tulip/files/patch-SimpleVector.h b/graphics/tulip/files/patch-SimpleVector.h new file mode 100644 index 000000000000..ee46beec7938 --- /dev/null +++ b/graphics/tulip/files/patch-SimpleVector.h @@ -0,0 +1,11 @@ +--- library/tulip/include/tulip/SimpleVector.h.orig Sat Nov 30 21:35:57 2002 ++++ library/tulip/include/tulip/SimpleVector.h Fri Oct 29 14:14:08 2004 +@@ -24,7 +24,7 @@ + explicit SimpleVector(size_t s) { begin=0; resize(s); } + void resize(size_t s) { + middleP=beginP+s; +- if (middle>endP || size()<capacity()/2) ++ if (this->middle>endP || size()<capacity()/2) + doRealloc(size()); + } + iterator begin() { return beginP; } |