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