mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	fix wwylele's comment and use typename in templates
This commit is contained in:
		
							parent
							
								
									ee6e88fdb5
								
							
						
					
					
						commit
						2ee472b9c7
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -53,8 +53,8 @@ public: | |||
|     void Push(u32 value) { | ||||
|         cmdbuf[index++] = value; | ||||
|     } | ||||
|     template <typename First, class... Other> | ||||
|     void Push(First first_value, const Other&... other_values) { | ||||
|     template <typename First, typename... Other> | ||||
|     void Push(const First& first_value, const Other&... other_values) { | ||||
|         Push(first_value); | ||||
|         Push(other_values...); | ||||
|     } | ||||
|  | @ -144,7 +144,7 @@ public: | |||
|     template <typename T> | ||||
|     void Pop(T& value); | ||||
| 
 | ||||
|     template <typename First, class... Other> | ||||
|     template <typename First, typename... Other> | ||||
|     void Pop(First& first_value, Other&... other_values); | ||||
| 
 | ||||
|     Kernel::Handle PopHandle(); | ||||
|  | @ -211,7 +211,7 @@ void RequestParser::Pop(T& value) { | |||
|     value = Pop<T>(); | ||||
| } | ||||
| 
 | ||||
| template <typename First, class... Other> | ||||
| template <typename First, typename... Other> | ||||
| void RequestParser::Pop(First& first_value, Other&... other_values) { | ||||
|     first_value = Pop<First>(); | ||||
|     Pop(other_values...); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue