diff --git a/cpp/src/arrow/array/concatenate_test.cc b/cpp/src/arrow/array/concatenate_test.cc index 0b05af1550193..af595e897f9ee 100644 --- a/cpp/src/arrow/array/concatenate_test.cc +++ b/cpp/src/arrow/array/concatenate_test.cc @@ -254,10 +254,9 @@ class PrimitiveConcatenateTest : public ConcatenateTest { TYPED_TEST_SUITE(PrimitiveConcatenateTest, PrimitiveArrowTypes); TYPED_TEST(PrimitiveConcatenateTest, Primitives) { - this->template Check( - [this](int64_t size, double null_probability, std::shared_ptr* out) { - *out = this->rag.template PrimitiveArray(size, null_probability); - }); + this->Check([this](int64_t size, double null_probability, std::shared_ptr* out) { + *out = this->rag.template PrimitiveArray(size, null_probability); + }); } TEST_F(ConcatenateTest, NullType) {