mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Make some destructors virtual, though we don't delete through parents
* It keeps compiling happy and warning-free
This commit is contained in:
@@ -398,6 +398,8 @@ struct RemoteAccess : public IRemoteAccess
|
||||
SAFE_DELETE(ser);
|
||||
}
|
||||
|
||||
virtual ~RemoteAccess() {}
|
||||
|
||||
bool Connected() { return m_Socket != NULL && m_Socket->Connected(); }
|
||||
|
||||
void Shutdown()
|
||||
|
||||
@@ -267,7 +267,7 @@ struct RemoteRenderer : public IRemoteRenderer
|
||||
m_RemoteDrivers.reserve(m.size());
|
||||
for(auto it=m.begin(); it != m.end(); ++it) m_RemoteDrivers.push_back(*it);
|
||||
}
|
||||
~RemoteRenderer()
|
||||
virtual ~RemoteRenderer()
|
||||
{
|
||||
SAFE_DELETE(m_Socket);
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ public:
|
||||
uint32_t PickVertex(uint32_t frameID, uint32_t eventID, uint32_t x, uint32_t y);
|
||||
private:
|
||||
ReplayOutput(ReplayRenderer *parent, void *w);
|
||||
~ReplayOutput();
|
||||
virtual ~ReplayOutput();
|
||||
|
||||
void SetFrameEvent(int frameID, int eventID);
|
||||
void SetContextFilter(ResourceId id, uint32_t firstDefEv, uint32_t lastDefEv);
|
||||
@@ -127,7 +127,7 @@ struct ReplayRenderer : public IReplayRenderer
|
||||
{
|
||||
public:
|
||||
ReplayRenderer();
|
||||
~ReplayRenderer();
|
||||
virtual ~ReplayRenderer();
|
||||
|
||||
APIProperties GetAPIProperties();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user