1
0
Fork 0

Fix warning about unused field (#9297)

This commit is contained in:
Tobias Gödderz 2019-06-19 14:47:21 +02:00 committed by Michael Hackstein
parent 42e3dcf5a1
commit 51254758f8
1 changed files with 2 additions and 0 deletions

View File

@ -130,7 +130,9 @@ class ExecutionBlockImpl<RemoteExecutor> : public ExecutionBlock {
/// @brief Mutex to cover against the race, that a getSome request
/// is responded before the ticket id is registered.
arangodb::Mutex _communicationMutex;
#ifdef ARANGODB_USE_GOOGLE_TESTS
std::atomic<std::thread::id> _communicationMutexOwner; // current thread owning '_communicationMutex' lock (workaround for non-recusrive MutexLocker)
#endif
OperationID _lastTicketId;