threading: remove unused template instantiations

These were only required for the ENTER_CRITICAL_SECTION macro.
This commit is contained in:
Cory Fields committed 2025-08-22 14:25:39 +00:00
1 parent b537a6a6db
commit 46ca7712cb
1 file changed
-2
-2
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);