Skip to content
Permalink
Browse files

Fix clang warning -Wdelete-non-abstract-non-virtual-dtor

  • Loading branch information...
walbourn committed May 2, 2019
1 parent 7245544 commit 65f3f3f6dc81848f6abf514b10007819ca03f210
@@ -30,7 +30,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:
@@ -28,7 +28,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:
@@ -125,4 +125,4 @@ class Game
bool m_newAudio;

wchar_t m_deviceStr[256];
};
};
@@ -28,7 +28,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:
@@ -106,4 +106,4 @@ class Game

std::unique_ptr<DirectX::CommonStates> m_states;
std::unique_ptr<DirectX::PrimitiveBatch<DirectX::VertexPositionColor>> m_batch;
};
};
@@ -30,7 +30,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:
@@ -28,7 +28,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:
@@ -163,4 +163,4 @@ class Game
DirectX::SimpleMath::Matrix m_projection;

UINT m_indexCount;
};
};
@@ -28,7 +28,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:
@@ -98,4 +98,4 @@ class Game
#if defined(_XBOX_ONE) && defined(_TITLE)
std::unique_ptr<DirectX::GraphicsMemory> m_graphicsMemory;
#endif
};
};
@@ -28,7 +28,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:
@@ -110,4 +110,4 @@ class Game

const wchar_t * m_lastStr;
wchar_t m_lastStrBuff[128];
};
};
@@ -30,7 +30,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:
@@ -29,7 +29,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:
@@ -109,4 +109,4 @@ class Game

const wchar_t * m_lastStr;
wchar_t m_lastStrBuff[128];
};
};
@@ -28,7 +28,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:
@@ -114,4 +114,4 @@ class Game
Microsoft::WRL::ComPtr<ID3D11InputLayout> m_layout;

uint64_t m_frame;
};
};
@@ -30,7 +30,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:
@@ -29,7 +29,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:
@@ -116,4 +116,4 @@ class Game

const wchar_t * m_lastStr;
wchar_t m_lastStrBuff[128];
};
};
@@ -30,7 +30,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:
@@ -30,7 +30,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:
@@ -28,7 +28,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:
@@ -132,4 +132,4 @@ class Game
Microsoft::WRL::ComPtr<ID3D11Texture2D> m_blur2Tex;
Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> m_blur2SRV;
Microsoft::WRL::ComPtr<ID3D11RenderTargetView> m_blur2RT;
};
};
@@ -28,7 +28,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:
@@ -132,4 +132,4 @@ class Game
bool m_spinning;
float m_pitch;
float m_yaw;
};
};
@@ -29,7 +29,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:
@@ -218,4 +218,4 @@ class Game
bool m_showCompressed;

float m_delay;
};
};
@@ -29,7 +29,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:
@@ -137,4 +137,4 @@ class Game
wchar_t m_deviceStr[256];

bool m_gamepadPresent;
};
};
@@ -28,7 +28,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:
@@ -106,4 +106,4 @@ class Game
Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> m_letterA;
Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> m_letterB;
Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> m_letterC;
};
};
@@ -28,7 +28,7 @@
// provides a game loop.
class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify
final : public DX::IDeviceNotify
#endif
{
public:

0 comments on commit 65f3f3f

Please sign in to comment.
You can’t perform that action at this time.