1
0
Fork 0

prevent compile warning with clang

This commit is contained in:
Jan Steemann 2016-02-04 19:31:44 +01:00
parent 51d4df998d
commit 3b1c3cd37d
1 changed files with 7 additions and 2 deletions

View File

@ -977,12 +977,17 @@ class ClusterInfo {
class FollowerInfo {
std::shared_ptr<std::vector<ServerID> const> _followers;
std::mutex _mutex;
#if 0
TRI_document_collection_t* _docColl;
#endif
public:
FollowerInfo(TRI_document_collection_t* d) : _docColl(d) {
}
#if 0
FollowerInfo(TRI_document_collection_t* d) : _docColl(d) {}
#else
FollowerInfo(TRI_document_collection_t*) {}
#endif
//////////////////////////////////////////////////////////////////////////////
/// @brief get information about current followers of a shard.