From f57aa6aee34c5eccd296fbe6b655075c682e97ca Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Mon, 23 Dec 2024 11:59:52 -0500 Subject: Began migrating benchmarks over to new interface --- include/shard/FSTrie.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/shard/FSTrie.h') diff --git a/include/shard/FSTrie.h b/include/shard/FSTrie.h index d720aad..59ff116 100644 --- a/include/shard/FSTrie.h +++ b/include/shard/FSTrie.h @@ -63,7 +63,7 @@ public: std::sort(base, stop, std::less>()); for (size_t i=0; iis_deleted() && cursor.ptr->rec.key != "") { + if (!cursor.ptr->is_deleted() && cursor.ptr->rec.key[0] != '\0') { m_data[m_reccnt] = *cursor.ptr; keys.push_back(std::string(m_data[m_reccnt].rec.key)); -- cgit v1.2.3