Skip to content

Commit

Permalink
noexcept fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
AdhocMan committed Apr 9, 2024
1 parent 23e9659 commit 953b1ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arbor/util/spatial_tree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class spatial_tree {
spatial_tree &operator=(const spatial_tree &) = default;

spatial_tree &operator=(spatial_tree &&t) noexcept(
noexcept(std::swap(data_, t.data_)) &&
noexcept(std::swap(this->data_, t.data_)) &&
std::is_nothrow_default_constructible_v<point_type> &&
std::is_nothrow_move_assignable_v<point_type>) {

Expand Down

0 comments on commit 953b1ce

Please sign in to comment.