Skip to content

Commit 46ca771

Browse files
committed
threading: remove unused template instantiations
These were only required for the ENTER_CRITICAL_SECTION macro.
1 parent b537a6a commit 46ca771

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/sync.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,6 @@ void EnterCritical(const char* pszName, const char* pszFile, int nLine, MutexTyp
206206
{
207207
push_lock(cs, CLockLocation(pszName, pszFile, nLine, fTry, util::ThreadGetInternalName()));
208208
}
209-
template void EnterCritical(const char*, const char*, int, Mutex*, bool);
210-
template void EnterCritical(const char*, const char*, int, RecursiveMutex*, bool);
211209
template void EnterCritical(const char*, const char*, int, std::mutex*, bool);
212210
template void EnterCritical(const char*, const char*, int, std::recursive_mutex*, bool);
213211

0 commit comments

Comments
 (0)