fix build after AutoDeleter change
Change-Id: Id6ffc8d58821159b1d570bf5ac17d8347d88f7f5 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3459 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user