mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:10:04 +00:00
std::scoped_lock should be const in font_manager.cpp
This commit is contained in:
parent
7722eeb539
commit
bbb09f64f0
1 changed files with 2 additions and 2 deletions
|
|
@ -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_)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue