Commit d49e7e30 by Zentaro Kavanagh Committed by Commit Bot

Mark classes with final dtors as final

- -Wfinal-dtor-non-final-class warns on classes with final dtors but not final classes. - Error messages are better when the class is marked final. - Fix existing issues in code base Bug: chromium:999886 Test: no errors building Change-Id: I62301f2f0b9108b08e0a749fbe261beb36b1996f Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2575923 Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
parent 7354c67b
......@@ -15,7 +15,7 @@
namespace rx
{
class WindowSurfaceVkSimple : public WindowSurfaceVk
class WindowSurfaceVkSimple final : public WindowSurfaceVk
{
public:
WindowSurfaceVkSimple(const egl::SurfaceState &surfaceState, EGLNativeWindowType window);
......
......@@ -15,7 +15,7 @@
namespace rx
{
class WindowSurfaceVkHeadless : public WindowSurfaceVk
class WindowSurfaceVkHeadless final : public WindowSurfaceVk
{
public:
WindowSurfaceVkHeadless(const egl::SurfaceState &surfaceState, EGLNativeWindowType window);
......
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