diff options
Diffstat (limited to 'src/threadengines')
-rw-r--r-- | src/threadengines/threadengine_pthread.cpp | 4 | ||||
-rw-r--r-- | src/threadengines/threadengine_win32.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/threadengines/threadengine_pthread.cpp b/src/threadengines/threadengine_pthread.cpp index a1993af45..66898bf25 100644 --- a/src/threadengines/threadengine_pthread.cpp +++ b/src/threadengines/threadengine_pthread.cpp @@ -105,11 +105,11 @@ void PThreadEngine::FreeThread(Thread* thread) } } -MutexEngine::MutexEngine(InspIRCd* Instance) : ServerInstance(Instance) +MutexFactory::MutexFactory(InspIRCd* Instance) : ServerInstance(Instance) { } -Mutex* MutexEngine::CreateMutex() +Mutex* MutexFactory::CreateMutex() { return new PosixMutex(this->ServerInstance); } diff --git a/src/threadengines/threadengine_win32.cpp b/src/threadengines/threadengine_win32.cpp index e2b58b42e..180ded0ea 100644 --- a/src/threadengines/threadengine_win32.cpp +++ b/src/threadengines/threadengine_win32.cpp @@ -86,11 +86,11 @@ void Win32ThreadEngine::FreeThread(Thread* thread) } -MutexEngine::MutexEngine(InspIRCd* Instance) : ServerInstance(Instance) +MutexFactory::MutexFactory(InspIRCd* Instance) : ServerInstance(Instance) { } -Mutex* MutexEngine::CreateMutex() +Mutex* MutexFactory::CreateMutex() { return new Win32Mutex(this->ServerInstance); } |