mirror of https://gitee.com/bigwinds/arangodb
fix compile warnings
This commit is contained in:
parent
779809d3e1
commit
782bc0fb4a
|
@ -182,7 +182,7 @@ class ClusterCollection final : public PhysicalCollection {
|
||||||
bool lock, TRI_voc_rid_t& prevRev,
|
bool lock, TRI_voc_rid_t& prevRev,
|
||||||
TRI_voc_rid_t& revisionId) override;
|
TRI_voc_rid_t& revisionId) override;
|
||||||
|
|
||||||
bool hasAllPersistentLocalIds() const { return false; }
|
bool hasAllPersistentLocalIds() const override { return false; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
/// @brief Inject figures that are specific to StorageEngine
|
/// @brief Inject figures that are specific to StorageEngine
|
||||||
|
|
|
@ -495,7 +495,7 @@ class MMFilesCollection final : public PhysicalCollection {
|
||||||
|
|
||||||
LocalDocumentId reuseOrCreateLocalDocumentId(OperationOptions const& options) const;
|
LocalDocumentId reuseOrCreateLocalDocumentId(OperationOptions const& options) const;
|
||||||
|
|
||||||
bool hasAllPersistentLocalIds() const { return _hasAllPersistentLocalIds.load(); }
|
bool hasAllPersistentLocalIds() const override { return _hasAllPersistentLocalIds.load(); }
|
||||||
|
|
||||||
static Result persistLocalDocumentIdsForDatafile(
|
static Result persistLocalDocumentIdsForDatafile(
|
||||||
MMFilesCollection& collection, MMFilesDatafile& file);
|
MMFilesCollection& collection, MMFilesDatafile& file);
|
||||||
|
|
|
@ -262,7 +262,7 @@ class RocksDBCollection final : public PhysicalCollection {
|
||||||
|
|
||||||
void blackListKey(char const* data, std::size_t len) const;
|
void blackListKey(char const* data, std::size_t len) const;
|
||||||
|
|
||||||
bool hasAllPersistentLocalIds() const { return true; }
|
bool hasAllPersistentLocalIds() const override { return true; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
uint64_t const _objectId; // rocksdb-specific object id for collection
|
uint64_t const _objectId; // rocksdb-specific object id for collection
|
||||||
|
|
Loading…
Reference in New Issue