threading: remove unused template instantiations

These were only required for the ENTER_CRITICAL_SECTION macro.
This commit is contained in:
Cory Fields
2025-05-28 15:48:15 +00:00
parent b537a6a6db
commit 46ca7712cb

View File

@@ -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);