fixed compiler error

This commit is contained in:
Evan Tschannen 2019-11-22 16:19:34 -08:00
parent 3c769fcf60
commit 59738e8ef1
1 changed files with 3 additions and 3 deletions

View File

@ -2535,9 +2535,9 @@ struct DDTeamCollection : ReferenceCounted<DDTeamCollection> {
// This is ok as long as we do not arbitrarily validate if machine team satisfies replication policy.
if (server_info[removedServer]->wrongStoreTypeToRemove.get()) {
if (self->wrongStoreTypeRemover.isReady()) {
self->wrongStoreTypeRemover = removeWrongStoreType(self);
self->addActor.send(self->wrongStoreTypeRemover);
if (wrongStoreTypeRemover.isReady()) {
wrongStoreTypeRemover = removeWrongStoreType(this);
addActor.send(wrongStoreTypeRemover);
}
}