From cae861615e34fb712e7a4e33a29e80453b626a3b Mon Sep 17 00:00:00 2001 From: Ryan Quinlan Date: Fri, 20 Jan 2023 17:18:42 -0800 Subject: [PATCH] Bugfix for BVH tree using gcc@8.1 without RAJA --- src/axom/spin/internal/linear_bvh/build_radix_tree.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/axom/spin/internal/linear_bvh/build_radix_tree.hpp b/src/axom/spin/internal/linear_bvh/build_radix_tree.hpp index 21336c6ec5..99fc62692d 100644 --- a/src/axom/spin/internal/linear_bvh/build_radix_tree.hpp +++ b/src/axom/spin/internal/linear_bvh/build_radix_tree.hpp @@ -264,7 +264,7 @@ void sort_mcodes(Array& mcodes, int32 size, const ArrayView iter) std::stable_sort(iter.begin(), iter.begin() + size, - [=](int32 i1, int32 i2) { return mcodes[i1] < mcodes[i2]; }); + [&](int32 i1, int32 i2) { return mcodes[i1] < mcodes[i2]; }); );