Linux: Fixed warnings with newer version of clang
This commit is contained in:
parent
37b7b2c292
commit
ebd6ff72ba
14 changed files with 21 additions and 8 deletions
|
@ -72,6 +72,10 @@ public:
|
|||
_useIntegerScaling = useIntegerScaling;
|
||||
}
|
||||
|
||||
virtual ~DrawCommand()
|
||||
{
|
||||
}
|
||||
|
||||
void Draw(uint32_t* argbBuffer, OverscanDimensions &overscan, uint32_t lineWidth, uint32_t frameNumber)
|
||||
{
|
||||
if(_startFrame <= frameNumber) {
|
||||
|
|
|
@ -24,7 +24,7 @@ private:
|
|||
|
||||
public:
|
||||
GameClient();
|
||||
~GameClient();
|
||||
virtual ~GameClient();
|
||||
|
||||
static bool Connected();
|
||||
static void Connect(shared_ptr<ClientConnectionData> connectionData);
|
||||
|
|
|
@ -41,7 +41,7 @@ protected:
|
|||
|
||||
public:
|
||||
GameClientConnection(shared_ptr<Socket> socket, shared_ptr<ClientConnectionData> connectionData);
|
||||
~GameClientConnection();
|
||||
virtual ~GameClientConnection();
|
||||
|
||||
void Shutdown();
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ private:
|
|||
|
||||
public:
|
||||
GameServer(uint16_t port, string hostPlayerName);
|
||||
~GameServer();
|
||||
virtual ~GameServer();
|
||||
|
||||
static void StartServer(uint16_t port, string hostPlayerName);
|
||||
static void StopServer();
|
||||
|
|
|
@ -35,7 +35,7 @@ protected:
|
|||
|
||||
public:
|
||||
GameServerConnection(shared_ptr<Socket> socket);
|
||||
~GameServerConnection();
|
||||
virtual ~GameServerConnection();
|
||||
|
||||
ControlDeviceState GetState();
|
||||
void SendMovieData(uint8_t port, ControlDeviceState state);
|
||||
|
|
|
@ -146,6 +146,8 @@ struct HdPackCondition
|
|||
virtual bool IsExcludedFromFile() { return false; }
|
||||
virtual string ToString() = 0;
|
||||
|
||||
virtual ~HdPackCondition() { }
|
||||
|
||||
void ClearCache()
|
||||
{
|
||||
_resultCache = -1;
|
||||
|
|
|
@ -50,4 +50,6 @@ public:
|
|||
virtual void GetMemoryRanges(MemoryRanges &ranges) = 0;
|
||||
virtual uint8_t ReadRAM(uint16_t addr) = 0;
|
||||
virtual void WriteRAM(uint16_t addr, uint8_t value) = 0;
|
||||
|
||||
virtual ~IMemoryHandler() {}
|
||||
};
|
|
@ -16,7 +16,7 @@ protected:
|
|||
|
||||
public:
|
||||
LuaScriptingContext();
|
||||
~LuaScriptingContext();
|
||||
virtual ~LuaScriptingContext();
|
||||
|
||||
bool LoadScript(string scriptName, string scriptContent, Debugger* debugger) override;
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ private:
|
|||
|
||||
public:
|
||||
MesenMovie();
|
||||
~MesenMovie();
|
||||
virtual ~MesenMovie();
|
||||
|
||||
bool Play(VirtualFile &file) override;
|
||||
bool SetInput(BaseControlDevice* device) override;
|
||||
|
|
|
@ -29,7 +29,7 @@ private:
|
|||
|
||||
public:
|
||||
MovieRecorder();
|
||||
~MovieRecorder();
|
||||
virtual ~MovieRecorder();
|
||||
|
||||
bool Record(RecordMovieOptions options);
|
||||
bool Stop();
|
||||
|
|
|
@ -46,7 +46,7 @@ private:
|
|||
|
||||
public:
|
||||
RewindManager();
|
||||
~RewindManager();
|
||||
virtual ~RewindManager();
|
||||
|
||||
void ProcessNotification(ConsoleNotificationType type, void* parameter) override;
|
||||
void ProcessEndOfFrame();
|
||||
|
|
|
@ -42,6 +42,7 @@ protected:
|
|||
virtual int InternalCallEventCallback(EventType type) = 0;
|
||||
|
||||
public:
|
||||
virtual ~ScriptingContext() {}
|
||||
virtual bool LoadScript(string scriptName, string scriptContent, Debugger* debugger) = 0;
|
||||
|
||||
void Log(string message);
|
||||
|
|
|
@ -228,6 +228,8 @@ protected:
|
|||
}
|
||||
|
||||
public:
|
||||
virtual ~Snapshotable() {}
|
||||
|
||||
void SaveSnapshot(ostream* file);
|
||||
void LoadSnapshot(istream* file, uint32_t stateVersion);
|
||||
|
||||
|
|
|
@ -7,4 +7,6 @@ public:
|
|||
virtual bool SetupCompress(int width, int height, uint32_t compressionLevel) = 0;
|
||||
virtual int CompressFrame(bool isKeyFrame, uint8_t *frameData, uint8_t** compressedData) = 0;
|
||||
virtual const char* GetFourCC() = 0;
|
||||
|
||||
virtual ~BaseCodec() { }
|
||||
};
|
Loading…
Add table
Reference in a new issue