[cscore,hal] Remove VS 2019 16.4.0 workaround (#7201)

This commit is contained in:
Gold856
2024-10-12 01:18:12 -04:00
committed by GitHub
parent f23bece791
commit 12885015ed
4 changed files with 0 additions and 16 deletions

View File

@@ -458,11 +458,7 @@ std::unique_ptr<PropertyImpl> HttpCameraImpl::CreateEmptyProperty(
}
bool HttpCameraImpl::CacheProperties(CS_Status* status) const {
#ifdef _MSC_VER // work around VS2019 16.4.0 bug
std::scoped_lock<wpi::mutex> lock(m_mutex);
#else
std::scoped_lock lock(m_mutex);
#endif
// Pretty typical set of video modes
m_videoModes.clear();