From 782bc0fb4a2465f84a8c4be5d71552e7093f863a Mon Sep 17 00:00:00 2001 From: jsteemann Date: Sat, 10 Nov 2018 23:11:44 +0100 Subject: [PATCH] fix compile warnings --- arangod/ClusterEngine/ClusterCollection.h | 2 +- arangod/MMFiles/MMFilesCollection.h | 2 +- arangod/RocksDBEngine/RocksDBCollection.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arangod/ClusterEngine/ClusterCollection.h b/arangod/ClusterEngine/ClusterCollection.h index 4df1e72d95..6d9c83224a 100644 --- a/arangod/ClusterEngine/ClusterCollection.h +++ b/arangod/ClusterEngine/ClusterCollection.h @@ -182,7 +182,7 @@ class ClusterCollection final : public PhysicalCollection { bool lock, TRI_voc_rid_t& prevRev, TRI_voc_rid_t& revisionId) override; - bool hasAllPersistentLocalIds() const { return false; } + bool hasAllPersistentLocalIds() const override { return false; } protected: /// @brief Inject figures that are specific to StorageEngine diff --git a/arangod/MMFiles/MMFilesCollection.h b/arangod/MMFiles/MMFilesCollection.h index 695fe0c0bf..634ee9ad76 100644 --- a/arangod/MMFiles/MMFilesCollection.h +++ b/arangod/MMFiles/MMFilesCollection.h @@ -495,7 +495,7 @@ class MMFilesCollection final : public PhysicalCollection { LocalDocumentId reuseOrCreateLocalDocumentId(OperationOptions const& options) const; - bool hasAllPersistentLocalIds() const { return _hasAllPersistentLocalIds.load(); } + bool hasAllPersistentLocalIds() const override { return _hasAllPersistentLocalIds.load(); } static Result persistLocalDocumentIdsForDatafile( MMFilesCollection& collection, MMFilesDatafile& file); diff --git a/arangod/RocksDBEngine/RocksDBCollection.h b/arangod/RocksDBEngine/RocksDBCollection.h index 71308c7858..848f14e974 100644 --- a/arangod/RocksDBEngine/RocksDBCollection.h +++ b/arangod/RocksDBEngine/RocksDBCollection.h @@ -262,7 +262,7 @@ class RocksDBCollection final : public PhysicalCollection { void blackListKey(char const* data, std::size_t len) const; - bool hasAllPersistentLocalIds() const { return true; } + bool hasAllPersistentLocalIds() const override { return true; } private: uint64_t const _objectId; // rocksdb-specific object id for collection