[ox/std] Make release version of oxAssert constexpr
This commit is contained in:
		
							
								
								
									
										4
									
								
								deps/ox/src/ox/std/def.hpp
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								deps/ox/src/ox/std/def.hpp
									
									
									
									
										vendored
									
									
								
							| @@ -71,8 +71,8 @@ | |||||||
| namespace ox { | namespace ox { | ||||||
| struct [[nodiscard]] Error; | struct [[nodiscard]] Error; | ||||||
| } | } | ||||||
| inline void oxAssert(bool, const char*) {} | constexpr void oxAssert(bool, const char*) noexcept {} | ||||||
| inline void oxAssert(const ox::Error&, const char*) {} | constexpr void oxAssert(const ox::Error&, const char*) noexcept {} | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user