mirror of https://gitee.com/bigwinds/arangodb
version update after return statement
This commit is contained in:
parent
266ee69535
commit
9e170e8021
|
@ -206,8 +206,8 @@ bool config_t::activePushBack(std::string const& id) {
|
||||||
WRITE_LOCKER(writeLocker, _lock);
|
WRITE_LOCKER(writeLocker, _lock);
|
||||||
if (_active.size() < _agencySize) {
|
if (_active.size() < _agencySize) {
|
||||||
_active.push_back(id);
|
_active.push_back(id);
|
||||||
return true;
|
|
||||||
++_version;
|
++_version;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue