From b31ef5356cb8c3b79e894e9fa008de3146d0d05c Mon Sep 17 00:00:00 2001 From: jsteemann Date: Mon, 24 Oct 2016 10:51:03 +0200 Subject: [PATCH] fix compile warnings because of mismatched class/struct usages --- arangod/Indexes/IndexElement.h | 4 ++-- arangod/VocBase/LogicalCollection.h | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/arangod/Indexes/IndexElement.h b/arangod/Indexes/IndexElement.h index 63f0e44ca6..fdfbf9445e 100644 --- a/arangod/Indexes/IndexElement.h +++ b/arangod/Indexes/IndexElement.h @@ -41,8 +41,8 @@ class IndexLookupContext; /// by the datafile the element is in. If the last byte in data[] is 1, then /// value.data contains the actual VelocyPack data in place. struct IndexElementValue { - friend class HashIndexElement; - friend class SkiplistIndexElement; + friend struct HashIndexElement; + friend struct SkiplistIndexElement; public: IndexElementValue() {} diff --git a/arangod/VocBase/LogicalCollection.h b/arangod/VocBase/LogicalCollection.h index 6ae2a94029..31a575ed7e 100644 --- a/arangod/VocBase/LogicalCollection.h +++ b/arangod/VocBase/LogicalCollection.h @@ -50,7 +50,7 @@ typedef std::string ShardID; // ID of a shard typedef std::unordered_map> ShardMap; class CollectionRevisionsCache; -class DatafileStatisticsContainer; +struct DatafileStatisticsContainer; class Ditches; class FollowerInfo; class Index; @@ -59,7 +59,6 @@ class ManagedDocumentResult; struct OperationOptions; class PhysicalCollection; class PrimaryIndex; -class SimpleIndexElement; class StringRef; class Transaction;