experimental/optional -> optional
This commit is contained in:
		
							parent
							
								
									86f3b94c8c
								
							
						
					
					
						commit
						ef52ccf035
					
				
					 14 changed files with 26 additions and 26 deletions
				
			
		|  | @ -2,7 +2,7 @@ | |||
| 
 | ||||
| #include <map> | ||||
| #include <list> | ||||
| #include <experimental/optional> | ||||
| #include <optional> | ||||
| 
 | ||||
| namespace nix { | ||||
| 
 | ||||
|  | @ -64,7 +64,7 @@ public: | |||
| 
 | ||||
|     /* Look up an item in the cache. If it exists, it becomes the most
 | ||||
|        recently used item. */ | ||||
|     std::experimental::optional<Value> get(const Key & key) | ||||
|     std::optional<Value> get(const Key & key) | ||||
|     { | ||||
|         auto i = data.find(key); | ||||
|         if (i == data.end()) return {}; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue