From d4bb7e0d6289f16af3ab89c96d37216420f742de Mon Sep 17 00:00:00 2001 From: Willem Deconinck Date: Thu, 21 Nov 2024 16:22:53 +0200 Subject: [PATCH] Fix initialization order --- pluto/tests/sandbox/sandbox.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pluto/tests/sandbox/sandbox.cc b/pluto/tests/sandbox/sandbox.cc index f1ca9254a..61892a7d1 100644 --- a/pluto/tests/sandbox/sandbox.cc +++ b/pluto/tests/sandbox/sandbox.cc @@ -175,9 +175,9 @@ class Array { } private: - pluto::allocator alloc_; memory_resource* resource_; const pluto::Stream& stream_; + pluto::allocator alloc_; value_type* ptr_{nullptr}; std::size_t size_{0}; static constexpr std::size_t alignment_ = pluto::default_alignment();