mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	applets/mii_selector: Make destructor virtual
Prevents undefined behavior when destroying derived classes through a base class pointer.
This commit is contained in:
		
							parent
							
								
									85d37c9994
								
							
						
					
					
						commit
						aeb6a037ed
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -29,6 +29,7 @@ struct MiiSelectorData { | |||
| 
 | ||||
| class MiiSelector { | ||||
| public: | ||||
|     virtual ~MiiSelector() = default; | ||||
|     virtual void Setup(const MiiSelectorConfig& config) { | ||||
|         this->config = MiiSelectorConfig(config); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue