mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:52:45 +00:00 
			
		
		
		
	AK+Everywhere: Rename JsonObject::get() to ::get_deprecated()
This is a preparatory step to making `get()` return `ErrorOr`.
This commit is contained in:
		
							parent
							
								
									efe4329f9f
								
							
						
					
					
						commit
						1dd6b7f5b7
					
				
					 76 changed files with 671 additions and 671 deletions
				
			
		|  | @ -39,7 +39,7 @@ ProcessModel::ProcessModel() | |||
|         auto cpuinfo_array = json.value().as_array(); | ||||
|         cpuinfo_array.for_each([&](auto& value) { | ||||
|             auto& cpu_object = value.as_object(); | ||||
|             auto cpu_id = cpu_object.get("processor"sv).as_u32(); | ||||
|             auto cpu_id = cpu_object.get_deprecated("processor"sv).as_u32(); | ||||
|             m_cpus.append(make<CpuInfo>(cpu_id)); | ||||
|         }); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Sam Atkins
						Sam Atkins