Kaydet (Commit) f2efde61 authored tarafından Michael Stahl's avatar Michael Stahl

vcl: [loplugin:badstatics] X11OpenGLDeviceInfo

class X11OpenGLDeviceInfo actually looks harmless but it has an out-of-line
destructor so the plugin can't see that it's harmless, so use
default destructor instead.

Change-Id: I50de6916360a944cbda3a85f4062e72e4c6d3768
üst 974d65ae
......@@ -13,7 +13,7 @@
class OpenGLDeviceInfo
{
public:
virtual ~OpenGLDeviceInfo();
virtual ~OpenGLDeviceInfo() = 0;
virtual bool isDeviceBlocked() = 0;
};
......
......@@ -40,7 +40,6 @@ private:
public:
X11OpenGLDeviceInfo();
virtual ~X11OpenGLDeviceInfo() override;
virtual bool isDeviceBlocked() override;
......
......@@ -117,10 +117,6 @@ X11OpenGLDeviceInfo::X11OpenGLDeviceInfo():
GetData();
}
X11OpenGLDeviceInfo::~X11OpenGLDeviceInfo()
{
}
void X11OpenGLDeviceInfo::GetData()
{
if (!glx::glxtest_pipe)
......
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