Eliminate redundant copy
This commit is contained in:
		
							parent
							
								
									e0d7d0e45c
								
							
						
					
					
						commit
						eea0401d7a
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -69,6 +69,8 @@ struct DirEntry | |||
|     string name; | ||||
|     ino_t ino; | ||||
|     unsigned char type; // one of DT_*
 | ||||
|     DirEntry(const string & name, ino_t ino, unsigned char type) | ||||
|         : name(name), ino(ino), type(type) { } | ||||
| }; | ||||
| 
 | ||||
| typedef vector<DirEntry> DirEntries; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue