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
							
								
									bc45d67f35
								
							
						
					
					
						commit
						c76f4b6aec
					
				
					 49 changed files with 274 additions and 266 deletions
				
			
		|  | @ -5,8 +5,9 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <array> | ||||
| #include <optional> | ||||
| #include <vector> | ||||
| #include <boost/optional.hpp> | ||||
| 
 | ||||
| #include "common/bit_field.h" | ||||
| #include "common/common_types.h" | ||||
| 
 | ||||
|  | @ -149,7 +150,7 @@ private: | |||
|     Engines::Maxwell3D& maxwell3d; | ||||
| 
 | ||||
|     u32 pc; ///< Current program counter
 | ||||
|     boost::optional<u32> | ||||
|     std::optional<u32> | ||||
|         delayed_pc; ///< Program counter to execute at after the delay slot is executed.
 | ||||
| 
 | ||||
|     static constexpr std::size_t NumMacroRegisters = 8; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Frederic L
						Frederic L