From 953b1cebcd086f98a075eb70363fd2fc823e1123 Mon Sep 17 00:00:00 2001 From: Simon Frasch Date: Tue, 9 Apr 2024 17:22:58 +0200 Subject: [PATCH] noexcept fix attempt --- arbor/util/spatial_tree.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arbor/util/spatial_tree.hpp b/arbor/util/spatial_tree.hpp index e3bba73dfe..5bd31d4a56 100644 --- a/arbor/util/spatial_tree.hpp +++ b/arbor/util/spatial_tree.hpp @@ -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 && std::is_nothrow_move_assignable_v) {