forked from eden-emu/eden
		
	global: Use std::optional instead of boost::optional (#1578)
* get rid of boost::optional * Remove optional references * Use std::reference_wrapper for optional references * Fix clang format * Fix clang format part 2 * Adressed feedback * Fix clang format and MacOS build
This commit is contained in:
		
							parent
							
								
									adf26ae668
								
							
						
					
					
						commit
						7a5eda5914
					
				
					 49 changed files with 274 additions and 266 deletions
				
			
		|  | @ -6,10 +6,11 @@ | |||
| 
 | ||||
| #include <iosfwd> | ||||
| #include <memory> | ||||
| #include <optional> | ||||
| #include <string> | ||||
| #include <utility> | ||||
| #include <vector> | ||||
| #include <boost/optional.hpp> | ||||
| 
 | ||||
| #include "common/common_types.h" | ||||
| #include "core/file_sys/vfs.h" | ||||
| 
 | ||||
|  | @ -145,7 +146,7 @@ public: | |||
|      * information. | ||||
|      * @returns A pair with the optional system mode, and and the status. | ||||
|      */ | ||||
|     virtual std::pair<boost::optional<u32>, ResultStatus> LoadKernelSystemMode() { | ||||
|     virtual std::pair<std::optional<u32>, ResultStatus> LoadKernelSystemMode() { | ||||
|         // 96MB allocated to the application.
 | ||||
|         return std::make_pair(2, ResultStatus::Success); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Frederic L
						Frederic L