fix build after AutoDeleter change

Change-Id: Id6ffc8d58821159b1d570bf5ac17d8347d88f7f5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3459
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
X512
2020-12-10 11:39:49 +00:00
committed by Adrien Destugues
parent 76ab85671d
commit 71e79db9b8
@@ -513,7 +513,7 @@ struct CommandDeleter : BPrivate::AutoDeleter<WorkerCommand, CommandDelete>
~CommandDeleter()
{
if (dynamic_cast<SyncCommand*>(fObject) != NULL)
if (dynamic_cast<SyncCommand*>(Get()) != NULL)
WorkerPrivate(fWorker).SyncCommandDone();
}