Commit c895b4c7 by Corentin Wallez Committed by Commit Bot

Make IGarbageObject's destructor virtual

This fixes a warning. BUG=angleproject:1668 Change-Id: Idf063be9dde0bfbf5f088d69ef38fd97baa69df3 Reviewed-on: https://chromium-review.googlesource.com/495434 Commit-Queue: Yuly Novikov <ynovikov@chromium.org> Reviewed-by: 's avatarFrank Henigman <fjhenigman@chromium.org> Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
parent 2b324d50
...@@ -470,6 +470,7 @@ using FenceAndSerial = ObjectAndSerial<Fence>; ...@@ -470,6 +470,7 @@ using FenceAndSerial = ObjectAndSerial<Fence>;
class IGarbageObject : angle::NonCopyable class IGarbageObject : angle::NonCopyable
{ {
public: public:
virtual ~IGarbageObject() {}
virtual bool destroyIfComplete(VkDevice device, Serial completedSerial) = 0; virtual bool destroyIfComplete(VkDevice device, Serial completedSerial) = 0;
virtual void destroy(VkDevice device) = 0; virtual void destroy(VkDevice device) = 0;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment