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