From 71e79db9b8c583e11f048b71d28c1a0aaaa54cd8 Mon Sep 17 00:00:00 2001 From: X512 Date: Fri, 4 Dec 2020 23:24:03 +0900 Subject: [PATCH] fix build after AutoDeleter change Change-Id: Id6ffc8d58821159b1d570bf5ac17d8347d88f7f5 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3459 Reviewed-by: Adrien Destugues --- .../mail_daemon/inbound_protocols/imap/IMAPConnectionWorker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/mail_daemon/inbound_protocols/imap/IMAPConnectionWorker.cpp b/src/add-ons/mail_daemon/inbound_protocols/imap/IMAPConnectionWorker.cpp index cebbc8ab39..5429ddd70f 100644 --- a/src/add-ons/mail_daemon/inbound_protocols/imap/IMAPConnectionWorker.cpp +++ b/src/add-ons/mail_daemon/inbound_protocols/imap/IMAPConnectionWorker.cpp @@ -513,7 +513,7 @@ struct CommandDeleter : BPrivate::AutoDeleter ~CommandDeleter() { - if (dynamic_cast(fObject) != NULL) + if (dynamic_cast(Get()) != NULL) WorkerPrivate(fWorker).SyncCommandDone(); }