Make some destructors virtual, though we don't delete through parents

* It keeps compiling happy and warning-free
This commit is contained in:
baldurk
2015-04-06 01:35:11 +01:00
parent a405ee13ca
commit e2d8bb1283
3 changed files with 5 additions and 3 deletions
+2
View File
@@ -398,6 +398,8 @@ struct RemoteAccess : public IRemoteAccess
SAFE_DELETE(ser);
}
virtual ~RemoteAccess() {}
bool Connected() { return m_Socket != NULL && m_Socket->Connected(); }
void Shutdown()
+1 -1
View File
@@ -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);
}
+2 -2
View File
@@ -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();