Skip to content

Commit

Permalink
Make move_construction_triviality_helper noexcept
Browse files Browse the repository at this point in the history
This helps increase performance and since this is the default, it should work anyway.
  • Loading branch information
AreaZR committed Jun 17, 2023
1 parent 689525d commit 5134a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/llvm-type_traits.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ template<typename T> union copy_construction_triviality_helper {
template<typename T> 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;
};

Expand Down

0 comments on commit 5134a24

Please sign in to comment.