This commit is contained in:
Akash Mozumdar 2018-07-19 01:44:44 -04:00
parent e4f5f3cfd5
commit 097e274347
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
#include "winmutex/winmutex.h" #include "winmutex/winmutex.h"
#include <atlbase.h> #include <atlbase.h>
#define HM_LOCK CriticalSectionLocker locker(hmCs) // Synchronized scope for accessing private data #define HM_LOCK CriticalSectionLocker hmLocker(hmCs) // Synchronized scope for accessing private data
HookManager::HookManager() : HookManager::HookManager() :
current(nullptr), current(nullptr),

View File

@ -14,7 +14,7 @@
extern HookManager* man; extern HookManager* man;
extern HWND dummyWindow; extern HWND dummyWindow;
#define TT_LOCK CriticalSectionLocker locker(ttCs) // Synchronized scope for accessing private data #define TT_LOCK CriticalSectionLocker ttLocker(ttCs) // Synchronized scope for accessing private data
TextThread::TextThread(ThreadParameter tp, unsigned int threadNumber, unsigned int splitDelay) : TextThread::TextThread(ThreadParameter tp, unsigned int threadNumber, unsigned int splitDelay) :
storage(), storage(),