From 46ca7712cb5fcf759cfc9f4f32d74215c8c83763 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Wed, 28 May 2025 15:48:15 +0000 Subject: [PATCH] threading: remove unused template instantiations These were only required for the ENTER_CRITICAL_SECTION macro. --- src/sync.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/sync.cpp b/src/sync.cpp index e5be6fd1156..fb60e3cf14c 100644 --- a/src/sync.cpp +++ b/src/sync.cpp @@ -206,8 +206,6 @@ void EnterCritical(const char* pszName, const char* pszFile, int nLine, MutexTyp { push_lock(cs, CLockLocation(pszName, pszFile, nLine, fTry, util::ThreadGetInternalName())); } -template void EnterCritical(const char*, const char*, int, Mutex*, bool); -template void EnterCritical(const char*, const char*, int, RecursiveMutex*, bool); template void EnterCritical(const char*, const char*, int, std::mutex*, bool); template void EnterCritical(const char*, const char*, int, std::recursive_mutex*, bool);