mirror of https://github.com/PCSX2/pcsx2.git
core: remove throw specifier on destructor
It is the 'default' on C++11
This commit is contained in:
parent
1a9a65d4d0
commit
2ff43f2ed8
|
@ -162,7 +162,7 @@ InputIsoFile::InputIsoFile()
|
||||||
_init();
|
_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
InputIsoFile::~InputIsoFile() throw()
|
InputIsoFile::~InputIsoFile()
|
||||||
{
|
{
|
||||||
Close();
|
Close();
|
||||||
}
|
}
|
||||||
|
|
|
@ -67,7 +67,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
InputIsoFile();
|
InputIsoFile();
|
||||||
virtual ~InputIsoFile() throw();
|
virtual ~InputIsoFile();
|
||||||
|
|
||||||
bool IsOpened() const;
|
bool IsOpened() const;
|
||||||
|
|
||||||
|
@ -121,7 +121,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
OutputIsoFile();
|
OutputIsoFile();
|
||||||
virtual ~OutputIsoFile() throw();
|
virtual ~OutputIsoFile();
|
||||||
|
|
||||||
bool IsOpened() const;
|
bool IsOpened() const;
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ OutputIsoFile::OutputIsoFile()
|
||||||
_init();
|
_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
OutputIsoFile::~OutputIsoFile() throw()
|
OutputIsoFile::~OutputIsoFile()
|
||||||
{
|
{
|
||||||
Close();
|
Close();
|
||||||
}
|
}
|
||||||
|
|
|
@ -354,7 +354,7 @@ public:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SysMtgsThread();
|
SysMtgsThread();
|
||||||
virtual ~SysMtgsThread() throw();
|
virtual ~SysMtgsThread();
|
||||||
|
|
||||||
// Waits for the GS to empty out the entire ring buffer contents.
|
// Waits for the GS to empty out the entire ring buffer contents.
|
||||||
void WaitGS(bool syncRegs=true, bool weakWait=false, bool isMTVU=false);
|
void WaitGS(bool syncRegs=true, bool weakWait=false, bool isMTVU=false);
|
||||||
|
|
|
@ -30,7 +30,7 @@ BaseGameDatabaseImpl::BaseGameDatabaseImpl()
|
||||||
m_BlockTable.push_back(NULL);
|
m_BlockTable.push_back(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
BaseGameDatabaseImpl::~BaseGameDatabaseImpl() throw()
|
BaseGameDatabaseImpl::~BaseGameDatabaseImpl()
|
||||||
{
|
{
|
||||||
for(uint blockidx=0; blockidx<=m_BlockTableWritePos; ++blockidx)
|
for(uint blockidx=0; blockidx<=m_BlockTableWritePos; ++blockidx)
|
||||||
{
|
{
|
||||||
|
|
|
@ -206,7 +206,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
BaseGameDatabaseImpl();
|
BaseGameDatabaseImpl();
|
||||||
virtual ~BaseGameDatabaseImpl() throw();
|
virtual ~BaseGameDatabaseImpl();
|
||||||
|
|
||||||
wxString getBaseKey() const { return m_baseKey; }
|
wxString getBaseKey() const { return m_baseKey; }
|
||||||
void setBaseKey( const wxString& key ) { m_baseKey = key; }
|
void setBaseKey( const wxString& key ) { m_baseKey = key; }
|
||||||
|
|
|
@ -80,7 +80,7 @@ void SysMtgsThread::OnStart()
|
||||||
_parent::OnStart();
|
_parent::OnStart();
|
||||||
}
|
}
|
||||||
|
|
||||||
SysMtgsThread::~SysMtgsThread() throw()
|
SysMtgsThread::~SysMtgsThread()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
_parent::Cancel();
|
_parent::Cancel();
|
||||||
|
@ -250,7 +250,7 @@ class RingBufferLock {
|
||||||
m_mtgs(mtgs) {
|
m_mtgs(mtgs) {
|
||||||
m_mtgs.m_RingBufferIsBusy.store(true, std::memory_order_relaxed);
|
m_mtgs.m_RingBufferIsBusy.store(true, std::memory_order_relaxed);
|
||||||
}
|
}
|
||||||
virtual ~RingBufferLock() throw() {
|
virtual ~RingBufferLock() {
|
||||||
m_mtgs.m_RingBufferIsBusy.store(false, std::memory_order_relaxed);
|
m_mtgs.m_RingBufferIsBusy.store(false, std::memory_order_relaxed);
|
||||||
}
|
}
|
||||||
void Acquire() {
|
void Acquire() {
|
||||||
|
|
|
@ -67,7 +67,7 @@ VU_Thread::VU_Thread(BaseVUmicroCPU*& _vuCPU, VURegs& _vuRegs) :
|
||||||
Reset();
|
Reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
VU_Thread::~VU_Thread() throw()
|
VU_Thread::~VU_Thread()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
pxThread::Cancel();
|
pxThread::Cancel();
|
||||||
|
|
|
@ -49,7 +49,7 @@ public:
|
||||||
__aligned(4) u32 vuCycleIdx; // Used for VU cycle stealing hack
|
__aligned(4) u32 vuCycleIdx; // Used for VU cycle stealing hack
|
||||||
|
|
||||||
VU_Thread(BaseVUmicroCPU*& _vuCPU, VURegs& _vuRegs);
|
VU_Thread(BaseVUmicroCPU*& _vuCPU, VURegs& _vuRegs);
|
||||||
virtual ~VU_Thread() throw();
|
virtual ~VU_Thread();
|
||||||
|
|
||||||
void Reset();
|
void Reset();
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ OutputIsoFile::OutputIsoFile()
|
||||||
_init();
|
_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
OutputIsoFile::~OutputIsoFile() throw()
|
OutputIsoFile::~OutputIsoFile()
|
||||||
{
|
{
|
||||||
Close();
|
Close();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1111,7 +1111,7 @@ void SysCorePlugins::PluginStatus_t::BindOptional( PluginsEnum_t pid )
|
||||||
// SysCorePlugins Implementations
|
// SysCorePlugins Implementations
|
||||||
// =====================================================================================
|
// =====================================================================================
|
||||||
|
|
||||||
SysCorePlugins::~SysCorePlugins() throw()
|
SysCorePlugins::~SysCorePlugins()
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
|
@ -324,7 +324,7 @@ protected:
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginStatus_t( PluginsEnum_t _pid, const wxString& srcfile );
|
PluginStatus_t( PluginsEnum_t _pid, const wxString& srcfile );
|
||||||
virtual ~PluginStatus_t() throw() { delete Lib; }
|
virtual ~PluginStatus_t() { delete Lib; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void BindCommon( PluginsEnum_t pid );
|
void BindCommon( PluginsEnum_t pid );
|
||||||
|
@ -345,7 +345,7 @@ public: // hack until we unsuck plugins...
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SysCorePlugins();
|
SysCorePlugins();
|
||||||
virtual ~SysCorePlugins() throw();
|
virtual ~SysCorePlugins();
|
||||||
|
|
||||||
virtual void Load( PluginsEnum_t pid, const wxString& srcfile );
|
virtual void Load( PluginsEnum_t pid, const wxString& srcfile );
|
||||||
virtual void Load( const wxString (&folders)[PluginId_Count] );
|
virtual void Load( const wxString (&folders)[PluginId_Count] );
|
||||||
|
|
|
@ -41,7 +41,7 @@ RecompiledCodeReserve::RecompiledCodeReserve( const wxString& name, uint defComm
|
||||||
m_prot_mode = PageAccess_Any();
|
m_prot_mode = PageAccess_Any();
|
||||||
}
|
}
|
||||||
|
|
||||||
RecompiledCodeReserve::~RecompiledCodeReserve() throw()
|
RecompiledCodeReserve::~RecompiledCodeReserve()
|
||||||
{
|
{
|
||||||
_termProfiler();
|
_termProfiler();
|
||||||
}
|
}
|
||||||
|
@ -274,7 +274,7 @@ public:
|
||||||
ScopedExcept ExThrown;
|
ScopedExcept ExThrown;
|
||||||
|
|
||||||
CpuInitializer();
|
CpuInitializer();
|
||||||
virtual ~CpuInitializer() throw();
|
virtual ~CpuInitializer();
|
||||||
|
|
||||||
bool IsAvailable() const
|
bool IsAvailable() const
|
||||||
{
|
{
|
||||||
|
@ -315,7 +315,7 @@ CpuInitializer< CpuType >::CpuInitializer()
|
||||||
}
|
}
|
||||||
|
|
||||||
template< typename CpuType >
|
template< typename CpuType >
|
||||||
CpuInitializer< CpuType >::~CpuInitializer() throw()
|
CpuInitializer< CpuType >::~CpuInitializer()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
if (MyCpu)
|
if (MyCpu)
|
||||||
|
@ -362,7 +362,7 @@ SysMainMemory::SysMainMemory()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
SysMainMemory::~SysMainMemory() throw()
|
SysMainMemory::~SysMainMemory()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ReleaseAll();
|
ReleaseAll();
|
||||||
|
@ -521,7 +521,7 @@ void SysCpuProviderPack::CleanupMess() throw()
|
||||||
DESTRUCTOR_CATCHALL
|
DESTRUCTOR_CATCHALL
|
||||||
}
|
}
|
||||||
|
|
||||||
SysCpuProviderPack::~SysCpuProviderPack() throw()
|
SysCpuProviderPack::~SysCpuProviderPack()
|
||||||
{
|
{
|
||||||
CleanupMess();
|
CleanupMess();
|
||||||
}
|
}
|
||||||
|
|
|
@ -103,7 +103,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SysMainMemory();
|
SysMainMemory();
|
||||||
virtual ~SysMainMemory() throw();
|
virtual ~SysMainMemory();
|
||||||
|
|
||||||
virtual void ReserveAll();
|
virtual void ReserveAll();
|
||||||
virtual void CommitAll();
|
virtual void CommitAll();
|
||||||
|
@ -119,7 +119,7 @@ class SysAllocVM
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SysAllocVM();
|
SysAllocVM();
|
||||||
virtual ~SysAllocVM() throw();
|
virtual ~SysAllocVM();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void CleanupMess() throw();
|
void CleanupMess() throw();
|
||||||
|
@ -138,7 +138,7 @@ public:
|
||||||
std::unique_ptr<CpuInitializerSet> CpuProviders;
|
std::unique_ptr<CpuInitializerSet> CpuProviders;
|
||||||
|
|
||||||
SysCpuProviderPack();
|
SysCpuProviderPack();
|
||||||
virtual ~SysCpuProviderPack() throw();
|
virtual ~SysCpuProviderPack();
|
||||||
|
|
||||||
void ApplyConfig() const;
|
void ApplyConfig() const;
|
||||||
#ifndef DISABLE_SVU
|
#ifndef DISABLE_SVU
|
||||||
|
|
|
@ -32,7 +32,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
RecompiledCodeReserve( const wxString& name=wxEmptyString, uint defCommit = 0 );
|
RecompiledCodeReserve( const wxString& name=wxEmptyString, uint defCommit = 0 );
|
||||||
virtual ~RecompiledCodeReserve() throw();
|
virtual ~RecompiledCodeReserve();
|
||||||
|
|
||||||
virtual void* Reserve( size_t size, uptr base=0, uptr upper_bounds=0 );
|
virtual void* Reserve( size_t size, uptr base=0, uptr upper_bounds=0 );
|
||||||
virtual void Reset();
|
virtual void Reset();
|
||||||
|
|
|
@ -53,7 +53,7 @@ SysCoreThread::SysCoreThread()
|
||||||
m_hasActiveMachine = false;
|
m_hasActiveMachine = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
SysCoreThread::~SysCoreThread() throw()
|
SysCoreThread::~SysCoreThread()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
SysCoreThread::Cancel();
|
SysCoreThread::Cancel();
|
||||||
|
|
|
@ -180,7 +180,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit SysCoreThread();
|
explicit SysCoreThread();
|
||||||
virtual ~SysCoreThread() throw();
|
virtual ~SysCoreThread();
|
||||||
|
|
||||||
bool HasPendingStateChangeRequest() const;
|
bool HasPendingStateChangeRequest() const;
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,7 @@ public:
|
||||||
IsInterpreter = false;
|
IsInterpreter = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~BaseCpuProvider() throw()
|
virtual ~BaseCpuProvider()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
if( m_Reserved != 0 )
|
if( m_Reserved != 0 )
|
||||||
|
@ -170,7 +170,7 @@ class InterpVU0 : public BaseVUmicroCPU
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
InterpVU0();
|
InterpVU0();
|
||||||
virtual ~InterpVU0() throw() { Shutdown(); }
|
virtual ~InterpVU0() { Shutdown(); }
|
||||||
|
|
||||||
const char* GetShortName() const { return "intVU0"; }
|
const char* GetShortName() const { return "intVU0"; }
|
||||||
wxString GetLongName() const { return L"VU0 Interpreter"; }
|
wxString GetLongName() const { return L"VU0 Interpreter"; }
|
||||||
|
@ -191,7 +191,7 @@ class InterpVU1 : public BaseVUmicroCPU
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
InterpVU1();
|
InterpVU1();
|
||||||
virtual ~InterpVU1() throw() { Shutdown(); }
|
virtual ~InterpVU1() { Shutdown(); }
|
||||||
|
|
||||||
const char* GetShortName() const { return "intVU1"; }
|
const char* GetShortName() const { return "intVU1"; }
|
||||||
wxString GetLongName() const { return L"VU1 Interpreter"; }
|
wxString GetLongName() const { return L"VU1 Interpreter"; }
|
||||||
|
@ -216,7 +216,7 @@ class recMicroVU0 : public BaseVUmicroCPU
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
recMicroVU0();
|
recMicroVU0();
|
||||||
virtual ~recMicroVU0() throw() { Shutdown(); }
|
virtual ~recMicroVU0() { Shutdown(); }
|
||||||
|
|
||||||
const char* GetShortName() const { return "mVU0"; }
|
const char* GetShortName() const { return "mVU0"; }
|
||||||
wxString GetLongName() const { return L"microVU0 Recompiler"; }
|
wxString GetLongName() const { return L"microVU0 Recompiler"; }
|
||||||
|
@ -237,7 +237,7 @@ class recMicroVU1 : public BaseVUmicroCPU
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
recMicroVU1();
|
recMicroVU1();
|
||||||
virtual ~recMicroVU1() throw() { Shutdown(); }
|
virtual ~recMicroVU1() { Shutdown(); }
|
||||||
|
|
||||||
const char* GetShortName() const { return "mVU1"; }
|
const char* GetShortName() const { return "mVU1"; }
|
||||||
wxString GetLongName() const { return L"microVU1 Recompiler"; }
|
wxString GetLongName() const { return L"microVU1 Recompiler"; }
|
||||||
|
|
|
@ -155,7 +155,7 @@ protected:
|
||||||
wxString m_final_filename;
|
wxString m_final_filename;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~BaseCompressThread() throw();
|
virtual ~BaseCompressThread();
|
||||||
|
|
||||||
BaseCompressThread& SetSource( ArchiveEntryList* srcdata )
|
BaseCompressThread& SetSource( ArchiveEntryList* srcdata )
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#include "wx/wfstream.h"
|
#include "wx/wfstream.h"
|
||||||
|
|
||||||
|
|
||||||
BaseCompressThread::~BaseCompressThread() throw()
|
BaseCompressThread::~BaseCompressThread()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
_parent::Cancel();
|
_parent::Cancel();
|
||||||
|
|
|
@ -242,7 +242,7 @@ public:
|
||||||
std::unique_ptr<AppGameDatabase> GameDB;
|
std::unique_ptr<AppGameDatabase> GameDB;
|
||||||
|
|
||||||
pxAppResources();
|
pxAppResources();
|
||||||
virtual ~pxAppResources() throw();
|
virtual ~pxAppResources();
|
||||||
};
|
};
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
|
@ -87,7 +87,7 @@ AppCoreThread::AppCoreThread() : SysCoreThread()
|
||||||
m_resetCdvd = false;
|
m_resetCdvd = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
AppCoreThread::~AppCoreThread() throw()
|
AppCoreThread::~AppCoreThread()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
_parent::Cancel(); // use parent's, skips thread affinity check.
|
_parent::Cancel(); // use parent's, skips thread affinity check.
|
||||||
|
@ -708,7 +708,7 @@ BaseScopedCoreThread::BaseScopedCoreThread()
|
||||||
m_alreadyScoped = false;
|
m_alreadyScoped = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
BaseScopedCoreThread::~BaseScopedCoreThread() throw() = default;
|
BaseScopedCoreThread::~BaseScopedCoreThread() = default;
|
||||||
|
|
||||||
// Allows the object to resume execution upon object destruction. Typically called as the last thing
|
// Allows the object to resume execution upon object destruction. Typically called as the last thing
|
||||||
// in the object's scope. Any code prior to this call that causes exceptions will not resume the emulator,
|
// in the object's scope. Any code prior to this call that causes exceptions will not resume the emulator,
|
||||||
|
@ -773,7 +773,7 @@ ScopedCoreThreadClose::ScopedCoreThreadClose()
|
||||||
ScopedCore_IsFullyClosed = true;
|
ScopedCore_IsFullyClosed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
ScopedCoreThreadClose::~ScopedCoreThreadClose() throw()
|
ScopedCoreThreadClose::~ScopedCoreThreadClose()
|
||||||
{
|
{
|
||||||
if( m_alreadyScoped ) return;
|
if( m_alreadyScoped ) return;
|
||||||
try {
|
try {
|
||||||
|
@ -803,7 +803,7 @@ ScopedCoreThreadPause::ScopedCoreThreadPause( BaseSysExecEvent_ScopedCore* abuse
|
||||||
ScopedCore_IsPaused = true;
|
ScopedCore_IsPaused = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
ScopedCoreThreadPause::~ScopedCoreThreadPause() throw()
|
ScopedCoreThreadPause::~ScopedCoreThreadPause()
|
||||||
{
|
{
|
||||||
if( m_alreadyScoped ) return;
|
if( m_alreadyScoped ) return;
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -127,7 +127,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
AppCoreThread();
|
AppCoreThread();
|
||||||
virtual ~AppCoreThread() throw();
|
virtual ~AppCoreThread();
|
||||||
|
|
||||||
void ResetCdvd() { m_resetCdvd = true; }
|
void ResetCdvd() { m_resetCdvd = true; }
|
||||||
|
|
||||||
|
@ -185,7 +185,7 @@ protected:
|
||||||
BaseScopedCoreThread();
|
BaseScopedCoreThread();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~BaseScopedCoreThread() throw()=0;
|
virtual ~BaseScopedCoreThread() =0;
|
||||||
virtual void AllowResume();
|
virtual void AllowResume();
|
||||||
virtual void DisallowResume();
|
virtual void DisallowResume();
|
||||||
|
|
||||||
|
@ -220,7 +220,7 @@ class ScopedCoreThreadClose : public BaseScopedCoreThread
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ScopedCoreThreadClose();
|
ScopedCoreThreadClose();
|
||||||
virtual ~ScopedCoreThreadClose() throw();
|
virtual ~ScopedCoreThreadClose();
|
||||||
|
|
||||||
void LoadPlugins();
|
void LoadPlugins();
|
||||||
};
|
};
|
||||||
|
@ -231,7 +231,7 @@ struct ScopedCoreThreadPause : public BaseScopedCoreThread
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ScopedCoreThreadPause( BaseSysExecEvent_ScopedCore* abuse_me=NULL );
|
ScopedCoreThreadPause( BaseSysExecEvent_ScopedCore* abuse_me=NULL );
|
||||||
virtual ~ScopedCoreThreadPause() throw();
|
virtual ~ScopedCoreThreadPause();
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ScopedCoreThreadPopup : public IScopedCoreThread
|
struct ScopedCoreThreadPopup : public IScopedCoreThread
|
||||||
|
|
|
@ -98,7 +98,7 @@ class EventListener_CoreThread : public IEventListener_CoreThread
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
EventListener_CoreThread();
|
EventListener_CoreThread();
|
||||||
virtual ~EventListener_CoreThread() throw();
|
virtual ~EventListener_CoreThread();
|
||||||
};
|
};
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------
|
||||||
|
@ -129,7 +129,7 @@ class EventListener_Plugins : public IEventListener_Plugins
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
EventListener_Plugins();
|
EventListener_Plugins();
|
||||||
virtual ~EventListener_Plugins() throw();
|
virtual ~EventListener_Plugins();
|
||||||
};
|
};
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------
|
||||||
|
@ -157,7 +157,7 @@ class EventListener_AppStatus : public IEventListener_AppStatus
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
EventListener_AppStatus();
|
EventListener_AppStatus();
|
||||||
virtual ~EventListener_AppStatus() throw();
|
virtual ~EventListener_AppStatus();
|
||||||
};
|
};
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
|
@ -33,7 +33,7 @@ EventListener_CoreThread::EventListener_CoreThread()
|
||||||
wxGetApp().AddListener( this );
|
wxGetApp().AddListener( this );
|
||||||
}
|
}
|
||||||
|
|
||||||
EventListener_CoreThread::~EventListener_CoreThread() throw()
|
EventListener_CoreThread::~EventListener_CoreThread()
|
||||||
{
|
{
|
||||||
wxGetApp().RemoveListener( this );
|
wxGetApp().RemoveListener( this );
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,7 @@ EventListener_Plugins::EventListener_Plugins()
|
||||||
wxGetApp().AddListener( this );
|
wxGetApp().AddListener( this );
|
||||||
}
|
}
|
||||||
|
|
||||||
EventListener_Plugins::~EventListener_Plugins() throw()
|
EventListener_Plugins::~EventListener_Plugins()
|
||||||
{
|
{
|
||||||
wxGetApp().RemoveListener( this );
|
wxGetApp().RemoveListener( this );
|
||||||
}
|
}
|
||||||
|
@ -86,7 +86,7 @@ EventListener_AppStatus::EventListener_AppStatus()
|
||||||
wxGetApp().AddListener( this );
|
wxGetApp().AddListener( this );
|
||||||
}
|
}
|
||||||
|
|
||||||
EventListener_AppStatus::~EventListener_AppStatus() throw()
|
EventListener_AppStatus::~EventListener_AppStatus()
|
||||||
{
|
{
|
||||||
wxGetApp().RemoveListener( this );
|
wxGetApp().RemoveListener( this );
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,7 +47,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
AppGameDatabase() {}
|
AppGameDatabase() {}
|
||||||
virtual ~AppGameDatabase() throw() {
|
virtual ~AppGameDatabase() {
|
||||||
try {
|
try {
|
||||||
Console.WriteLn( "(GameDB) Unloading..." );
|
Console.WriteLn( "(GameDB) Unloading..." );
|
||||||
}
|
}
|
||||||
|
|
|
@ -397,7 +397,7 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~GameDatabaseLoaderThread() throw()
|
virtual ~GameDatabaseLoaderThread()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
_parent::Cancel();
|
_parent::Cancel();
|
||||||
|
|
|
@ -71,7 +71,7 @@ pxAppResources::pxAppResources()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
pxAppResources::~pxAppResources() throw() = default;
|
pxAppResources::~pxAppResources() = default;
|
||||||
|
|
||||||
wxMenu& Pcsx2App::GetRecentIsoMenu()
|
wxMenu& Pcsx2App::GetRecentIsoMenu()
|
||||||
{
|
{
|
||||||
|
|
|
@ -118,7 +118,7 @@ class BaseApplicableDialog
|
||||||
|
|
||||||
public:
|
public:
|
||||||
BaseApplicableDialog() {}
|
BaseApplicableDialog() {}
|
||||||
virtual ~BaseApplicableDialog() throw();
|
virtual ~BaseApplicableDialog();
|
||||||
|
|
||||||
// Must return the same thing as GetNameStatic; a name ideal for use in uniquely
|
// Must return the same thing as GetNameStatic; a name ideal for use in uniquely
|
||||||
// identifying dialogs. (this version is the 'instance' version, which is called
|
// identifying dialogs. (this version is the 'instance' version, which is called
|
||||||
|
@ -161,7 +161,7 @@ protected:
|
||||||
EventListenerHelper_AppStatus<BaseApplicableConfigPanel> m_AppStatusHelper;
|
EventListenerHelper_AppStatus<BaseApplicableConfigPanel> m_AppStatusHelper;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~BaseApplicableConfigPanel() throw();
|
virtual ~BaseApplicableConfigPanel();
|
||||||
|
|
||||||
BaseApplicableConfigPanel( wxWindow* parent, wxOrientation orient=wxVERTICAL );
|
BaseApplicableConfigPanel( wxWindow* parent, wxOrientation orient=wxVERTICAL );
|
||||||
BaseApplicableConfigPanel( wxWindow* parent, wxOrientation orient, const wxString& staticLabel );
|
BaseApplicableConfigPanel( wxWindow* parent, wxOrientation orient, const wxString& staticLabel );
|
||||||
|
@ -236,7 +236,7 @@ public:
|
||||||
const wxBitmap& bitmap = wxNullBitmap
|
const wxBitmap& bitmap = wxNullBitmap
|
||||||
);
|
);
|
||||||
|
|
||||||
virtual ~ApplicableWizardPage() throw() { m_ApplyState.DoCleanup(); }
|
virtual ~ApplicableWizardPage() { m_ApplyState.DoCleanup(); }
|
||||||
|
|
||||||
virtual bool PrepForApply();
|
virtual bool PrepForApply();
|
||||||
};
|
};
|
||||||
|
|
|
@ -33,7 +33,7 @@ wxDEFINE_EVENT(pxEvt_SetTitleText, wxCommandEvent);
|
||||||
wxDEFINE_EVENT(pxEvt_FlushQueue, wxCommandEvent);
|
wxDEFINE_EVENT(pxEvt_FlushQueue, wxCommandEvent);
|
||||||
|
|
||||||
// C++ requires abstract destructors to exist, even though they're abstract.
|
// C++ requires abstract destructors to exist, even though they're abstract.
|
||||||
PipeRedirectionBase::~PipeRedirectionBase() throw() = default;
|
PipeRedirectionBase::~PipeRedirectionBase() = default;
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
|
|
|
@ -35,7 +35,7 @@ class PipeRedirectionBase
|
||||||
DeclareNoncopyableObject( PipeRedirectionBase );
|
DeclareNoncopyableObject( PipeRedirectionBase );
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~PipeRedirectionBase() throw()=0; // abstract destructor, forces abstract class behavior
|
virtual ~PipeRedirectionBase() =0; // abstract destructor, forces abstract class behavior
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
PipeRedirectionBase() {}
|
PipeRedirectionBase() {}
|
||||||
|
@ -79,7 +79,7 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
~ConsoleTestThread() throw()
|
~ConsoleTestThread()
|
||||||
{
|
{
|
||||||
m_done = true;
|
m_done = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,7 +40,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CpuUsageProvider();
|
CpuUsageProvider();
|
||||||
virtual ~CpuUsageProvider() throw();
|
virtual ~CpuUsageProvider();
|
||||||
|
|
||||||
virtual bool IsImplemented() const { return m_Implementation->IsImplemented(); }
|
virtual bool IsImplemented() const { return m_Implementation->IsImplemented(); }
|
||||||
virtual void UpdateStats() { m_Implementation->UpdateStats(); }
|
virtual void UpdateStats() { m_Implementation->UpdateStats(); }
|
||||||
|
|
|
@ -28,4 +28,4 @@ CpuUsageProvider::CpuUsageProvider() :
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
CpuUsageProvider::~CpuUsageProvider() throw() = default;
|
CpuUsageProvider::~CpuUsageProvider() = default;
|
||||||
|
|
|
@ -49,7 +49,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CpuUsageProviderMSW();
|
CpuUsageProviderMSW();
|
||||||
virtual ~CpuUsageProviderMSW() throw();
|
virtual ~CpuUsageProviderMSW();
|
||||||
|
|
||||||
bool IsImplemented() const;
|
bool IsImplemented() const;
|
||||||
void UpdateStats();
|
void UpdateStats();
|
||||||
|
@ -156,7 +156,7 @@ CpuUsageProviderMSW::CpuUsageProviderMSW()
|
||||||
}*/
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
CpuUsageProviderMSW::~CpuUsageProviderMSW() throw()
|
CpuUsageProviderMSW::~CpuUsageProviderMSW()
|
||||||
{
|
{
|
||||||
//CoUninitialize();
|
//CoUninitialize();
|
||||||
}
|
}
|
||||||
|
@ -282,6 +282,6 @@ CpuUsageProvider::CpuUsageProvider() :
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
CpuUsageProvider::~CpuUsageProvider() throw()
|
CpuUsageProvider::~CpuUsageProvider()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,7 +73,7 @@ public:
|
||||||
m_apply = m_ok = m_cancel = NULL;
|
m_apply = m_ok = m_cancel = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~ScopedOkButtonDisabler() throw()
|
virtual ~ScopedOkButtonDisabler()
|
||||||
{
|
{
|
||||||
if (m_apply) m_apply ->Enable();
|
if (m_apply) m_apply ->Enable();
|
||||||
if (m_ok) m_ok ->Enable();
|
if (m_ok) m_ok ->Enable();
|
||||||
|
@ -94,7 +94,7 @@ BaseApplicableDialog::BaseApplicableDialog( wxWindow* parent, const wxString& ti
|
||||||
Init();
|
Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
BaseApplicableDialog::~BaseApplicableDialog() throw()
|
BaseApplicableDialog::~BaseApplicableDialog()
|
||||||
{
|
{
|
||||||
m_ApplyState.DoCleanup();
|
m_ApplyState.DoCleanup();
|
||||||
}
|
}
|
||||||
|
|
|
@ -182,7 +182,7 @@ struct ScopedThreadCancelDisable
|
||||||
pthread_setcancelstate( PTHREAD_CANCEL_DISABLE, &oldstate );
|
pthread_setcancelstate( PTHREAD_CANCEL_DISABLE, &oldstate );
|
||||||
}
|
}
|
||||||
|
|
||||||
~ScopedThreadCancelDisable() throw()
|
~ScopedThreadCancelDisable()
|
||||||
{
|
{
|
||||||
int oldstate;
|
int oldstate;
|
||||||
pthread_setcancelstate( PTHREAD_CANCEL_ENABLE, &oldstate );
|
pthread_setcancelstate( PTHREAD_CANCEL_ENABLE, &oldstate );
|
||||||
|
|
|
@ -131,7 +131,7 @@ GSPanel::GSPanel( wxWindow* parent )
|
||||||
Bind(wxEVT_LEFT_DCLICK, &GSPanel::OnLeftDclick, this);
|
Bind(wxEVT_LEFT_DCLICK, &GSPanel::OnLeftDclick, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
GSPanel::~GSPanel() throw()
|
GSPanel::~GSPanel()
|
||||||
{
|
{
|
||||||
//CoreThread.Suspend( false ); // Just in case...!
|
//CoreThread.Suspend( false ); // Just in case...!
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,7 +49,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
GSPanel( wxWindow* parent );
|
GSPanel( wxWindow* parent );
|
||||||
virtual ~GSPanel() throw();
|
virtual ~GSPanel();
|
||||||
|
|
||||||
void DoResize();
|
void DoResize();
|
||||||
void DoShowMouse();
|
void DoShowMouse();
|
||||||
|
|
|
@ -533,7 +533,7 @@ MainEmuFrame::MainEmuFrame(wxWindow* parent, const wxString& title)
|
||||||
AppendKeycodeNamesToMenuOptions();
|
AppendKeycodeNamesToMenuOptions();
|
||||||
}
|
}
|
||||||
|
|
||||||
MainEmuFrame::~MainEmuFrame() throw()
|
MainEmuFrame::~MainEmuFrame()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
if( m_RestartEmuOnDelete )
|
if( m_RestartEmuOnDelete )
|
||||||
|
|
|
@ -129,7 +129,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
MainEmuFrame(wxWindow* parent, const wxString& title);
|
MainEmuFrame(wxWindow* parent, const wxString& title);
|
||||||
virtual ~MainEmuFrame() throw();
|
virtual ~MainEmuFrame();
|
||||||
|
|
||||||
void OnLogBoxHidden();
|
void OnLogBoxHidden();
|
||||||
|
|
||||||
|
|
|
@ -147,7 +147,7 @@ IApplyState* BaseApplicableConfigPanel::FindApplyStateManager() const
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
BaseApplicableConfigPanel::~BaseApplicableConfigPanel() throw()
|
BaseApplicableConfigPanel::~BaseApplicableConfigPanel()
|
||||||
{
|
{
|
||||||
if( IApplyState* iapp = FindApplyStateManager() )
|
if( IApplyState* iapp = FindApplyStateManager() )
|
||||||
iapp->GetApplyState().PanelList.remove( this );
|
iapp->GetApplyState().PanelList.remove( this );
|
||||||
|
|
|
@ -490,7 +490,7 @@ namespace Panels
|
||||||
DirPickerPanel* m_FolderPicker;
|
DirPickerPanel* m_FolderPicker;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~ThemeSelectorPanel() throw();
|
virtual ~ThemeSelectorPanel();
|
||||||
ThemeSelectorPanel( wxWindow* parent );
|
ThemeSelectorPanel( wxWindow* parent );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
@ -554,7 +554,7 @@ namespace Panels
|
||||||
PluginSelectorPanel& m_master;
|
PluginSelectorPanel& m_master;
|
||||||
ScopedBusyCursor m_hourglass;
|
ScopedBusyCursor m_hourglass;
|
||||||
public:
|
public:
|
||||||
virtual ~EnumThread() throw()
|
virtual ~EnumThread()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
pxThread::Cancel();
|
pxThread::Cancel();
|
||||||
|
@ -617,7 +617,7 @@ namespace Panels
|
||||||
std::unique_ptr<EnumThread> m_EnumeratorThread;
|
std::unique_ptr<EnumThread> m_EnumeratorThread;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~PluginSelectorPanel() throw();
|
virtual ~PluginSelectorPanel();
|
||||||
PluginSelectorPanel( wxWindow* parent );
|
PluginSelectorPanel( wxWindow* parent );
|
||||||
|
|
||||||
void CancelRefresh(); // used from destructor, stays non-virtual
|
void CancelRefresh(); // used from destructor, stays non-virtual
|
||||||
|
|
|
@ -370,7 +370,7 @@ enum McdMenuId
|
||||||
Panels::MemoryCardListPanel_Simple* g_uglyPanel=NULL;
|
Panels::MemoryCardListPanel_Simple* g_uglyPanel=NULL;
|
||||||
void g_uglyFunc(){if (g_uglyPanel) g_uglyPanel->OnChangedListSelection();}
|
void g_uglyFunc(){if (g_uglyPanel) g_uglyPanel->OnChangedListSelection();}
|
||||||
|
|
||||||
Panels::MemoryCardListPanel_Simple::~MemoryCardListPanel_Simple() throw(){g_uglyPanel=NULL;}
|
Panels::MemoryCardListPanel_Simple::~MemoryCardListPanel_Simple() {g_uglyPanel=NULL;}
|
||||||
|
|
||||||
Panels::MemoryCardListPanel_Simple::MemoryCardListPanel_Simple( wxWindow* parent )
|
Panels::MemoryCardListPanel_Simple::MemoryCardListPanel_Simple( wxWindow* parent )
|
||||||
: _parent( parent )
|
: _parent( parent )
|
||||||
|
|
|
@ -222,7 +222,7 @@ namespace Panels
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~MemoryCardListPanel_Simple() throw();
|
virtual ~MemoryCardListPanel_Simple();
|
||||||
MemoryCardListPanel_Simple( wxWindow* parent );
|
MemoryCardListPanel_Simple( wxWindow* parent );
|
||||||
|
|
||||||
void UpdateUI();
|
void UpdateUI();
|
||||||
|
|
|
@ -437,7 +437,7 @@ Panels::PluginSelectorPanel::PluginSelectorPanel( wxWindow* parent )
|
||||||
Bind(wxEVT_BUTTON, &PluginSelectorPanel::OnConfigure_Clicked, this, ButtonId_Configure);
|
Bind(wxEVT_BUTTON, &PluginSelectorPanel::OnConfigure_Clicked, this, ButtonId_Configure);
|
||||||
}
|
}
|
||||||
|
|
||||||
Panels::PluginSelectorPanel::~PluginSelectorPanel() throw()
|
Panels::PluginSelectorPanel::~PluginSelectorPanel()
|
||||||
{
|
{
|
||||||
CancelRefresh(); // in case the enumeration thread is currently refreshing...
|
CancelRefresh(); // in case the enumeration thread is currently refreshing...
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,7 +42,7 @@ RecentIsoManager::RecentIsoManager( wxMenu* menu, int firstIdForMenuItems_or_wxI
|
||||||
Bind(wxEVT_MENU, &RecentIsoManager::OnChangedSelection, this);
|
Bind(wxEVT_MENU, &RecentIsoManager::OnChangedSelection, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
RecentIsoManager::~RecentIsoManager() throw()
|
RecentIsoManager::~RecentIsoManager()
|
||||||
{
|
{
|
||||||
Unbind(wxEVT_MENU, &RecentIsoManager::OnChangedSelection, this);
|
Unbind(wxEVT_MENU, &RecentIsoManager::OnChangedSelection, this);
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,7 +50,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
RecentIsoManager( wxMenu* menu , int firstIdForMenuItems_or_wxID_ANY );
|
RecentIsoManager( wxMenu* menu , int firstIdForMenuItems_or_wxID_ANY );
|
||||||
virtual ~RecentIsoManager() throw();
|
virtual ~RecentIsoManager();
|
||||||
|
|
||||||
void RemoveAllFromMenu();
|
void RemoveAllFromMenu();
|
||||||
void Repopulate();
|
void Repopulate();
|
||||||
|
|
|
@ -100,7 +100,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
VtlbMemoryReserve( const wxString& name, size_t size );
|
VtlbMemoryReserve( const wxString& name, size_t size );
|
||||||
virtual ~VtlbMemoryReserve() throw()
|
virtual ~VtlbMemoryReserve()
|
||||||
{
|
{
|
||||||
m_reserve.Release();
|
m_reserve.Release();
|
||||||
}
|
}
|
||||||
|
@ -124,7 +124,7 @@ class eeMemoryReserve : public VtlbMemoryReserve
|
||||||
|
|
||||||
public:
|
public:
|
||||||
eeMemoryReserve();
|
eeMemoryReserve();
|
||||||
virtual ~eeMemoryReserve() throw()
|
virtual ~eeMemoryReserve()
|
||||||
{
|
{
|
||||||
Release();
|
Release();
|
||||||
}
|
}
|
||||||
|
@ -145,7 +145,7 @@ class iopMemoryReserve : public VtlbMemoryReserve
|
||||||
|
|
||||||
public:
|
public:
|
||||||
iopMemoryReserve();
|
iopMemoryReserve();
|
||||||
virtual ~iopMemoryReserve() throw()
|
virtual ~iopMemoryReserve()
|
||||||
{
|
{
|
||||||
Release();
|
Release();
|
||||||
}
|
}
|
||||||
|
@ -166,7 +166,7 @@ class vuMemoryReserve : public VtlbMemoryReserve
|
||||||
|
|
||||||
public:
|
public:
|
||||||
vuMemoryReserve();
|
vuMemoryReserve();
|
||||||
virtual ~vuMemoryReserve() throw()
|
virtual ~vuMemoryReserve()
|
||||||
{
|
{
|
||||||
Release();
|
Release();
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@ public:
|
||||||
m_name = (m_color == Color_Red) ? L"Redirect_Stderr" : L"Redirect_Stdout";
|
m_name = (m_color == Color_Red) ? L"Redirect_Stderr" : L"Redirect_Stdout";
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~WinPipeThread() throw()
|
virtual ~WinPipeThread()
|
||||||
{
|
{
|
||||||
_parent::Cancel();
|
_parent::Cancel();
|
||||||
}
|
}
|
||||||
|
@ -138,7 +138,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
WinPipeRedirection( FILE* stdstream );
|
WinPipeRedirection( FILE* stdstream );
|
||||||
virtual ~WinPipeRedirection() throw();
|
virtual ~WinPipeRedirection();
|
||||||
|
|
||||||
void Cleanup() throw();
|
void Cleanup() throw();
|
||||||
};
|
};
|
||||||
|
|
|
@ -63,7 +63,7 @@ public:
|
||||||
m_bucket.fill(nullptr);
|
m_bucket.fill(nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
~HashBucket() throw() { clear(); }
|
~HashBucket() { clear(); }
|
||||||
|
|
||||||
__fi nVifBlock* find(const nVifBlock& dataPtr) {
|
__fi nVifBlock* find(const nVifBlock& dataPtr) {
|
||||||
nVifBlock* chainpos = m_bucket[dataPtr.hash_key];
|
nVifBlock* chainpos = m_bucket[dataPtr.hash_key];
|
||||||
|
|
Loading…
Reference in New Issue