1
0
Fork 0

fix compile warnings because of mismatched class/struct usages

This commit is contained in:
jsteemann 2016-10-24 10:51:03 +02:00
parent b73b4668d0
commit b31ef5356c
2 changed files with 3 additions and 4 deletions

View File

@ -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() {}

View File

@ -50,7 +50,7 @@ typedef std::string ShardID; // ID of a shard
typedef std::unordered_map<ShardID, std::vector<ServerID>> 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;