mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 06:50:05 +00:00 
			
		
		
		
	Read and write settings subcategories
This commit is contained in:
		
							parent
							
								
									47b7d475c8
								
							
						
					
					
						commit
						9f4a798d67
					
				
					 1 changed files with 2 additions and 6 deletions
				
			
		|  | @ -121,9 +121,7 @@ bool SettingsCategory::ReadJson(const boost::json::object& json) | ||||||
|       // Read subcategories
 |       // Read subcategories
 | ||||||
|       for (auto& subcategory : p->subcategories_) |       for (auto& subcategory : p->subcategories_) | ||||||
|       { |       { | ||||||
|          (void) subcategory; |          validated &= subcategory->ReadJson(object); | ||||||
|          // TODO:
 |  | ||||||
|          // subcategory->ReadJson(object);
 |  | ||||||
|       } |       } | ||||||
| 
 | 
 | ||||||
|       // Read variables
 |       // Read variables
 | ||||||
|  | @ -172,9 +170,7 @@ void SettingsCategory::WriteJson(boost::json::object& json) const | ||||||
|    // Write subcategories
 |    // Write subcategories
 | ||||||
|    for (auto& subcategory : p->subcategories_) |    for (auto& subcategory : p->subcategories_) | ||||||
|    { |    { | ||||||
|       (void) subcategory; |       subcategory->WriteJson(object); | ||||||
|       // TODO:
 |  | ||||||
|       // subcategory->WriteJson();
 |  | ||||||
|    } |    } | ||||||
| 
 | 
 | ||||||
|    // Write variables
 |    // Write variables
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat