std::scoped_lock should be const in font_manager.cpp

This commit is contained in:
Dan Paulat 2025-07-01 20:53:38 -05:00
parent 7722eeb539
commit bbb09f64f0

View file

@ -144,7 +144,7 @@ void FontManager::Impl::ConnectSignals()
self_,
[this]()
{
std::scoped_lock lock {dirtyFontsMutex_,
const std::scoped_lock lock {dirtyFontsMutex_,
fontCategoryMutex_};
for (auto fontCategory : dirtyFonts_)