From ed0cfbb5582f3534884edd499c2d7bd38611bd9a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 11 Jan 2015 22:23:57 +0000 Subject: consistent use of valid(), per koch (tlbuild 11 Jan 2015 11:51:25) git-svn-id: svn://tug.org/texlive/trunk@36023 c570f23f-e606-0410-a88d-b1316a301751 --- .../texk/dvisvgm/dvisvgm-1.9-PATCHES/patch-09-funccall | 13 +++++++++++++ Build/source/texk/dvisvgm/dvisvgm-1.9/src/VectorIterator.h | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 Build/source/texk/dvisvgm/dvisvgm-1.9-PATCHES/patch-09-funccall (limited to 'Build') diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.9-PATCHES/patch-09-funccall b/Build/source/texk/dvisvgm/dvisvgm-1.9-PATCHES/patch-09-funccall new file mode 100644 index 00000000000..09c5bddb4b1 --- /dev/null +++ b/Build/source/texk/dvisvgm/dvisvgm-1.9-PATCHES/patch-09-funccall @@ -0,0 +1,13 @@ +Index: VectorIterator.h +=================================================================== +--- VectorIterator.h (revision 36021) ++++ VectorIterator.h (working copy) +@@ -97,7 +97,7 @@ + bool operator > (const VectorIterator &it) const {return _pos > it._pos;} + + size_t distanceToLast () const { +- if (valid) ++ if (valid()) + return _vector.size()-_pos-1; + return 0; + } diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.9/src/VectorIterator.h b/Build/source/texk/dvisvgm/dvisvgm-1.9/src/VectorIterator.h index c7235b82fdd..3492308b785 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-1.9/src/VectorIterator.h +++ b/Build/source/texk/dvisvgm/dvisvgm-1.9/src/VectorIterator.h @@ -97,7 +97,7 @@ class VectorIterator bool operator > (const VectorIterator &it) const {return _pos > it._pos;} size_t distanceToLast () const { - if (valid) + if (valid()) return _vector.size()-_pos-1; return 0; } -- cgit v1.2.3