mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:20:06 +00:00
remove warning supression and fix missing virtual destructor
This commit is contained in:
parent
c5d004aa48
commit
3b5323cea0
5 changed files with 2 additions and 29 deletions
|
|
@ -22,7 +22,7 @@ class DrawItem
|
|||
{
|
||||
public:
|
||||
explicit DrawItem(OpenGLFunctions& gl);
|
||||
~DrawItem();
|
||||
virtual ~DrawItem();
|
||||
|
||||
DrawItem(const DrawItem&) = delete;
|
||||
DrawItem& operator=(const DrawItem&) = delete;
|
||||
|
|
|
|||
|
|
@ -1,16 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic push
|
||||
# pragma clang diagnostic ignored "-Wdelete-non-abstract-non-virtual-dtor"
|
||||
#endif
|
||||
|
||||
#include <QOpenGLFunctions_3_3_Core>
|
||||
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#define SCWX_GL_CHECK_ERROR() \
|
||||
{ \
|
||||
GLenum err; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue