summaryrefslogtreecommitdiff
path: root/vcl/opengl/x11
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-09-22 14:33:19 +0200
committerMichael Stahl <mstahl@redhat.com>2017-09-25 15:15:30 +0200
commitf2efde611c5a682a0084177e87454df188fe7df8 (patch)
tree2d1d3e25f489f4bbcbd898aa1b7f271ed43e399c /vcl/opengl/x11
parent974d65aed528783bb06b96e5400b5ab347e0b258 (diff)
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
Diffstat (limited to 'vcl/opengl/x11')
-rw-r--r--vcl/opengl/x11/X11DeviceInfo.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/opengl/x11/X11DeviceInfo.cxx b/vcl/opengl/x11/X11DeviceInfo.cxx
index 8b15809ea107..c270adf08d32 100644
--- a/vcl/opengl/x11/X11DeviceInfo.cxx
+++ b/vcl/opengl/x11/X11DeviceInfo.cxx
@@ -117,10 +117,6 @@ X11OpenGLDeviceInfo::X11OpenGLDeviceInfo():
GetData();
}
-X11OpenGLDeviceInfo::~X11OpenGLDeviceInfo()
-{
-}
-
void X11OpenGLDeviceInfo::GetData()
{
if (!glx::glxtest_pipe)