Skip to content

Commit

Permalink
Fix clang warning -Wdelete-non-abstract-non-virtual-dtor
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed May 2, 2019
1 parent 7245544 commit 65f3f3f
Show file tree
Hide file tree
Showing 20 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion AnimTest/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down
4 changes: 2 additions & 2 deletions Audio3DTest/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down Expand Up @@ -125,4 +125,4 @@ class Game
bool m_newAudio; bool m_newAudio;


wchar_t m_deviceStr[256]; wchar_t m_deviceStr[256];
}; };
4 changes: 2 additions & 2 deletions D3D11Test/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down Expand Up @@ -106,4 +106,4 @@ class Game


std::unique_ptr<DirectX::CommonStates> m_states; std::unique_ptr<DirectX::CommonStates> m_states;
std::unique_ptr<DirectX::PrimitiveBatch<DirectX::VertexPositionColor>> m_batch; std::unique_ptr<DirectX::PrimitiveBatch<DirectX::VertexPositionColor>> m_batch;
}; };
2 changes: 1 addition & 1 deletion DGSLTest/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down
4 changes: 2 additions & 2 deletions EffectsTest/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down Expand Up @@ -163,4 +163,4 @@ class Game
DirectX::SimpleMath::Matrix m_projection; DirectX::SimpleMath::Matrix m_projection;


UINT m_indexCount; UINT m_indexCount;
}; };
4 changes: 2 additions & 2 deletions EmptyTest/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down Expand Up @@ -98,4 +98,4 @@ class Game
#if defined(_XBOX_ONE) && defined(_TITLE) #if defined(_XBOX_ONE) && defined(_TITLE)
std::unique_ptr<DirectX::GraphicsMemory> m_graphicsMemory; std::unique_ptr<DirectX::GraphicsMemory> m_graphicsMemory;
#endif #endif
}; };
4 changes: 2 additions & 2 deletions GamePadTest/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down Expand Up @@ -110,4 +110,4 @@ class Game


const wchar_t * m_lastStr; const wchar_t * m_lastStr;
wchar_t m_lastStrBuff[128]; wchar_t m_lastStrBuff[128];
}; };
2 changes: 1 addition & 1 deletion HDRTest/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down
4 changes: 2 additions & 2 deletions KeyboardTest/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down Expand Up @@ -109,4 +109,4 @@ class Game


const wchar_t * m_lastStr; const wchar_t * m_lastStr;
wchar_t m_lastStrBuff[128]; wchar_t m_lastStrBuff[128];
}; };
4 changes: 2 additions & 2 deletions LoadTest/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down Expand Up @@ -114,4 +114,4 @@ class Game
Microsoft::WRL::ComPtr<ID3D11InputLayout> m_layout; Microsoft::WRL::ComPtr<ID3D11InputLayout> m_layout;


uint64_t m_frame; uint64_t m_frame;
}; };
2 changes: 1 addition & 1 deletion ModelTest/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down
4 changes: 2 additions & 2 deletions MouseTest/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down Expand Up @@ -116,4 +116,4 @@ class Game


const wchar_t * m_lastStr; const wchar_t * m_lastStr;
wchar_t m_lastStrBuff[128]; wchar_t m_lastStrBuff[128];
}; };
2 changes: 1 addition & 1 deletion PBRModelTest/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down
2 changes: 1 addition & 1 deletion PBRTest/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down
4 changes: 2 additions & 2 deletions PostProcessTest/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down Expand Up @@ -132,4 +132,4 @@ class Game
Microsoft::WRL::ComPtr<ID3D11Texture2D> m_blur2Tex; Microsoft::WRL::ComPtr<ID3D11Texture2D> m_blur2Tex;
Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> m_blur2SRV; Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> m_blur2SRV;
Microsoft::WRL::ComPtr<ID3D11RenderTargetView> m_blur2RT; Microsoft::WRL::ComPtr<ID3D11RenderTargetView> m_blur2RT;
}; };
4 changes: 2 additions & 2 deletions PrimitivesTest/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down Expand Up @@ -132,4 +132,4 @@ class Game
bool m_spinning; bool m_spinning;
float m_pitch; float m_pitch;
float m_yaw; float m_yaw;
}; };
4 changes: 2 additions & 2 deletions ShaderTest/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down Expand Up @@ -218,4 +218,4 @@ class Game
bool m_showCompressed; bool m_showCompressed;


float m_delay; float m_delay;
}; };
4 changes: 2 additions & 2 deletions SimpleAudioTest/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down Expand Up @@ -137,4 +137,4 @@ class Game
wchar_t m_deviceStr[256]; wchar_t m_deviceStr[256];


bool m_gamepadPresent; bool m_gamepadPresent;
}; };
4 changes: 2 additions & 2 deletions SpriteBatchTest/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down Expand Up @@ -106,4 +106,4 @@ class Game
Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> m_letterA; Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> m_letterA;
Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> m_letterB; Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> m_letterB;
Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> m_letterC; Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> m_letterC;
}; };
2 changes: 1 addition & 1 deletion SpriteFontTest/Game.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
// provides a game loop. // provides a game loop.
class Game class Game
#if !defined(_XBOX_ONE) || !defined(_TITLE) #if !defined(_XBOX_ONE) || !defined(_TITLE)
: public DX::IDeviceNotify final : public DX::IDeviceNotify
#endif #endif
{ {
public: public:
Expand Down

0 comments on commit 65f3f3f

Please sign in to comment.