mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	Fixed noexcept benchmark build for gcc.
This commit is contained in:
		
				
					committed by
					
						
						Martin Hořeňovský
					
				
			
			
				
	
			
			
			
						parent
						
							6971476563
						
					
				
				
					commit
					b15b862d86
				
			@@ -56,7 +56,7 @@ namespace Catch {
 | 
				
			|||||||
                    }
 | 
					                    }
 | 
				
			||||||
                    iters *= 2;
 | 
					                    iters *= 2;
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                throw optimized_away_error{};
 | 
					                Catch::throw_exception(optimized_away_error{});
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        } // namespace Detail
 | 
					        } // namespace Detail
 | 
				
			||||||
    } // namespace Benchmark
 | 
					    } // namespace Benchmark
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user