lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject [lucy-commits] git commit: refs/heads/master - Replace infinite recursion with super invocation.
Date Tue, 28 May 2013 19:10:35 GMT
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 <marvin@rectangular.com>
Authored: Tue May 28 12:08:40 2013 -0700
Committer: Marvin Humphrey <marvin@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);


Mime
View raw message