From e85cadb90dde48633aa7f43d78fae82c07c71c13 Mon Sep 17 00:00:00 2001 From: jsteemann Date: Wed, 10 May 2017 11:04:03 +0200 Subject: [PATCH] removed unused private field --- arangod/RocksDBEngine/RocksDBPrimaryIndex.cpp | 1 - arangod/RocksDBEngine/RocksDBPrimaryIndex.h | 1 - 2 files changed, 2 deletions(-) diff --git a/arangod/RocksDBEngine/RocksDBPrimaryIndex.cpp b/arangod/RocksDBEngine/RocksDBPrimaryIndex.cpp index df9ada069c..867383f0d9 100644 --- a/arangod/RocksDBEngine/RocksDBPrimaryIndex.cpp +++ b/arangod/RocksDBEngine/RocksDBPrimaryIndex.cpp @@ -116,7 +116,6 @@ RocksDBAllIndexIterator::RocksDBAllIndexIterator( LogicalCollection* collection, transaction::Methods* trx, ManagedDocumentResult* mmdr, RocksDBPrimaryIndex const* index, bool reverse) : IndexIterator(collection, trx, mmdr, index), - _cmp(index->_cmp), _reverse(reverse), _bounds(RocksDBKeyBounds::PrimaryIndex(index->objectId())) { // acquire rocksdb transaction diff --git a/arangod/RocksDBEngine/RocksDBPrimaryIndex.h b/arangod/RocksDBEngine/RocksDBPrimaryIndex.h index ed1478a4e2..b284dccbdb 100644 --- a/arangod/RocksDBEngine/RocksDBPrimaryIndex.h +++ b/arangod/RocksDBEngine/RocksDBPrimaryIndex.h @@ -93,7 +93,6 @@ class RocksDBAllIndexIterator final : public IndexIterator { void seek(StringRef const& key); private: - RocksDBComparator const* _cmp; bool const _reverse; std::unique_ptr _iterator; RocksDBKeyBounds _bounds;