You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2013/05/28 21:10:35 UTC

[lucy-commits] git commit: refs/heads/master - Replace infinite recursion with super invocation.

Updated Branches:
  refs/heads/master 926d77097 -> e617ebfda


Replace infinite recursion with super invocation.


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/e617ebfd
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/e617ebfd
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/e617ebfd

Branch: refs/heads/master
Commit: e617ebfda75a12c391c540a9e84b3edbe60c039c
Parents: 926d770
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Tue May 28 12:08:40 2013 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Tue May 28 12:08:40 2013 -0700

----------------------------------------------------------------------
 core/Lucy/Test/Util/BBSortEx.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/e617ebfd/core/Lucy/Test/Util/BBSortEx.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Test/Util/BBSortEx.c b/core/Lucy/Test/Util/BBSortEx.c
index 1a3db9f..a839661 100644
--- a/core/Lucy/Test/Util/BBSortEx.c
+++ b/core/Lucy/Test/Util/BBSortEx.c
@@ -60,7 +60,9 @@ BBSortEx_clear_cache(BBSortEx *self) {
 
 void
 BBSortEx_feed(BBSortEx *self, void *data) {
-    SortEx_Feed((SortExternal*)self, data);
+    BBSortEx_Feed_t super_feed
+        = SUPER_METHOD_PTR(self->vtable, Lucy_BBSortEx_Feed);
+    super_feed(self, data);
 
     // Flush() if necessary.
     ByteBuf *bytebuf = (ByteBuf*)CERTIFY(*(ByteBuf**)data, BYTEBUF);