forked from eden-emu/eden
		
	shader/node: std::move Meta instance within OperationNode constructor
Allows usages of the constructor to avoid an unnecessary copy.
This commit is contained in:
		
							parent
							
								
									c531d0df85
								
							
						
					
					
						commit
						94855ef1a8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -410,7 +410,7 @@ public: | |||
|     explicit OperationNode(OperationCode code) : OperationNode(code, Meta{}) {} | ||||
| 
 | ||||
|     explicit OperationNode(OperationCode code, Meta meta) | ||||
|         : OperationNode(code, meta, std::vector<Node>{}) {} | ||||
|         : OperationNode(code, std::move(meta), std::vector<Node>{}) {} | ||||
| 
 | ||||
|     explicit OperationNode(OperationCode code, std::vector<Node> operands) | ||||
|         : OperationNode(code, Meta{}, std::move(operands)) {} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lioncash
						Lioncash