From 8e6bfb44669c6e71d9c28349c8e6c3814df6653e Mon Sep 17 00:00:00 2001 From: Adam Reeve Date: Thu, 10 Sep 2026 20:45:01 +1200 Subject: [PATCH] Fix build error in acero tests with gcc 16 --- cpp/src/arrow/acero/test_util_internal.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/arrow/acero/test_util_internal.cc b/cpp/src/arrow/acero/test_util_internal.cc index 3e2791758104..5e3b582efc70 100644 --- a/cpp/src/arrow/acero/test_util_internal.cc +++ b/cpp/src/arrow/acero/test_util_internal.cc @@ -121,7 +121,7 @@ struct DummyNode : ExecNode { private: void AssertIsOutput(ExecNode* output) { ASSERT_EQ(output->output(), nullptr); } - std::shared_ptr dummy_schema() const { + static std::shared_ptr dummy_schema() { return schema({field("dummy", null())}); }