From 41e3da6fb22f531fff73ca28e85ec927d77c324e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 14 Sep 2022 16:53:54 +0200 Subject: [PATCH] python: default the destructor also in the SDL2 application. --- src/python/magnum/platform/sdl2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/magnum/platform/sdl2.cpp b/src/python/magnum/platform/sdl2.cpp index 7d3de41..218e364 100644 --- a/src/python/magnum/platform/sdl2.cpp +++ b/src/python/magnum/platform/sdl2.cpp @@ -64,7 +64,7 @@ void sdl2(py::module_& m) { /* The base doesn't have a virtual destructor because in C++ it's never deleted through a pointer to the base. Here we need it, though. */ - virtual ~PublicizedApplication() {} + virtual ~PublicizedApplication() = default; }; struct PyApplication: PublicizedApplication {