From 375ef57c9f221f9c781fa8a87f4d3e7f19970952 Mon Sep 17 00:00:00 2001 From: anjakefala Date: Thu, 10 Oct 2024 10:57:50 -0700 Subject: [PATCH] Explicitly instantiate template base class - needed for DLL linking on Windows --- cpp/src/arrow/chunk_resolver.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cpp/src/arrow/chunk_resolver.h b/cpp/src/arrow/chunk_resolver.h index 30831816a337d..1696150c7119d 100644 --- a/cpp/src/arrow/chunk_resolver.h +++ b/cpp/src/arrow/chunk_resolver.h @@ -289,4 +289,13 @@ class ARROW_EXPORT ChunkResolver { } }; + // Explicitly instantiate template base class, for DLL linking on Windows + template class arrow::TypedChunkLocation; + template class arrow::TypedChunkLocation; + template class arrow::TypedChunkLocation; + template class arrow::TypedChunkLocation; + template class arrow::TypedChunkLocation; + template class arrow::TypedChunkLocation; + template class arrow::TypedChunkLocation; + template class arrow::TypedChunkLocation; } // namespace arrow