From 5134a24d82177a9143086500877edfaa8aac4877 Mon Sep 17 00:00:00 2001 From: Rose <83477269+AtariDreams@users.noreply.github.com> Date: Sat, 17 Jun 2023 15:54:55 -0400 Subject: [PATCH] Make move_construction_triviality_helper noexcept This helps increase performance and since this is the default, it should work anyway. --- runtime/llvm-type_traits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/llvm-type_traits.h b/runtime/llvm-type_traits.h index abcce7e..ca30034 100644 --- a/runtime/llvm-type_traits.h +++ b/runtime/llvm-type_traits.h @@ -90,7 +90,7 @@ template union copy_construction_triviality_helper { template union move_construction_triviality_helper { T t; move_construction_triviality_helper() = default; - move_construction_triviality_helper(move_construction_triviality_helper&&) = default; + move_construction_triviality_helper(move_construction_triviality_helper&&) noexcept = default; ~move_construction_triviality_helper() = default; };