mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 20:26:48 +00:00 
			
		
		
		
	getting rid of the nullptr compatibility nonsense. Hopefully once and for all
This commit is contained in:
		
							parent
							
								
									27f69d0f5b
								
							
						
					
					
						commit
						bb2bc0b518
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -56,7 +56,7 @@ StatsWindow::StatsWindow (MWWorld::Environment& environment) | |||
|     for (int i = 0; i < ESM::Skill::Length; ++i) | ||||
|     { | ||||
|         skillValues.insert(std::make_pair(i, MWMechanics::Stat<float>())); | ||||
|         skillWidgetMap.insert(std::make_pair(i, nullptr)); | ||||
|         skillWidgetMap.insert(std::make_pair(i, static_cast<MyGUI::StaticText*> (0))); | ||||
|     } | ||||
| 
 | ||||
|     MyGUI::WindowPtr t = static_cast<MyGUI::WindowPtr>(mMainWidget); | ||||
|  |  | |||
|  | @ -82,7 +82,7 @@ ReviewDialog::ReviewDialog(MWWorld::Environment& environment) | |||
|     for (int i = 0; i < ESM::Skill::Length; ++i) | ||||
|     { | ||||
|         skillValues.insert(std::make_pair(i, MWMechanics::Stat<float>())); | ||||
|         skillWidgetMap.insert(std::make_pair(i, nullptr)); | ||||
|         skillWidgetMap.insert(std::make_pair(i, static_cast<MyGUI::StaticText*> (0))); | ||||
|     } | ||||
| 
 | ||||
|     static_cast<MyGUI::WindowPtr>(mMainWidget)->eventWindowChangeCoord = MyGUI::newDelegate(this, &ReviewDialog::onWindowResize); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue