diff --git a/src/CPP/Windows/Handle.h b/src/CPP/Windows/Handle.h index eeb83c2..d6fbf63 100644 --- a/src/CPP/Windows/Handle.h +++ b/src/CPP/Windows/Handle.h @@ -7,7 +7,7 @@ namespace NWindows { -class CHandle MY_UNCOPYABLE +class CHandle Z7_final MY_UNCOPYABLE { protected: HANDLE _handle; diff --git a/src/CPP/Windows/PropVariant.h b/src/CPP/Windows/PropVariant.h index 004190b..95d3c98 100644 --- a/src/CPP/Windows/PropVariant.h +++ b/src/CPP/Windows/PropVariant.h @@ -46,7 +46,7 @@ inline void PropVarEm_Set_Bool(PROPVARIANT *p, bool b) throw() } -class CPropVariant : public tagPROPVARIANT +class CPropVariant Z7_final: public tagPROPVARIANT { // ---------- forbidden functions ---------- CPropVariant(const char *s); diff --git a/src/CPP/Windows/Synchronization.h b/src/CPP/Windows/Synchronization.h index 84df136..63935cd 100644 --- a/src/CPP/Windows/Synchronization.h +++ b/src/CPP/Windows/Synchronization.h @@ -51,7 +51,7 @@ class CBaseEvent MY_UNCOPYABLE WRes Lock() { return Event_Wait(&_object); } }; -class CManualResetEvent: public CBaseEvent +class CManualResetEvent Z7_final: public CBaseEvent { public: WRes Create(bool initiallyOwn = false) @@ -72,7 +72,7 @@ class CManualResetEvent: public CBaseEvent #endif }; -class CAutoResetEvent: public CBaseEvent +class CAutoResetEvent Z7_final: public CBaseEvent { public: WRes Create() @@ -135,7 +135,7 @@ class CMutexLock MY_UNCOPYABLE */ -class CSemaphore MY_UNCOPYABLE +class CSemaphore Z7_final MY_UNCOPYABLE { ::CSemaphore _object; public: @@ -162,7 +162,7 @@ class CSemaphore MY_UNCOPYABLE WRes Lock() { return Semaphore_Wait(&_object); } }; -class CCriticalSection MY_UNCOPYABLE +class CCriticalSection Z7_final MY_UNCOPYABLE { ::CCriticalSection _object; public: @@ -208,7 +208,7 @@ inline DWORD WINAPI WaitForMultiObj_Any_Infinite(DWORD count, const CHandle_WFMO #define SYNC_PARAM_DECL(x) NWindows::NSynchronization::CSynchro *x #define SYNC_OBJ_DECL(x) NWindows::NSynchronization::CSynchro x; -class CSynchro MY_UNCOPYABLE +class CSynchro Z7_final MY_UNCOPYABLE { pthread_mutex_t _mutex; pthread_cond_t _cond; diff --git a/src/CPP/Windows/System.h b/src/CPP/Windows/System.h index bf63521..c182d84 100644 --- a/src/CPP/Windows/System.h +++ b/src/CPP/Windows/System.h @@ -18,7 +18,7 @@ namespace NSystem { UInt32 CountAffinity(DWORD_PTR mask); -struct CProcessAffinity +struct CProcessAffinity Z7_final { // UInt32 numProcessThreads; // UInt32 numSysThreads; @@ -57,7 +57,7 @@ struct CProcessAffinity #else // WIN32 -struct CProcessAffinity +struct CProcessAffinity Z7_final { UInt32 numSysThreads; diff --git a/src/CPP/Windows/Thread.h b/src/CPP/Windows/Thread.h index 013e5fd..ad68fad 100644 --- a/src/CPP/Windows/Thread.h +++ b/src/CPP/Windows/Thread.h @@ -9,7 +9,7 @@ namespace NWindows { -class CThread MY_UNCOPYABLE +class CThread Z7_final MY_UNCOPYABLE { ::CThread thread; public: