mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 10:10:05 +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_, | ||||
|                     [this]() | ||||
|                     { | ||||
|                        std::scoped_lock lock {dirtyFontsMutex_, | ||||
|                                               fontCategoryMutex_}; | ||||
|                        const std::scoped_lock lock {dirtyFontsMutex_, | ||||
|                                                     fontCategoryMutex_}; | ||||
| 
 | ||||
|                        for (auto fontCategory : dirtyFonts_) | ||||
|                        { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat