Skip to content

Commit

Permalink
Explicitly instantiate template base struct - needed for DLL linking …
Browse files Browse the repository at this point in the history
…on Windows
  • Loading branch information
anjakefala committed Oct 10, 2024
1 parent 7e9fefb commit 994ffc8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cpp/src/arrow/chunk_resolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -289,4 +289,13 @@ class ARROW_EXPORT ChunkResolver {
}
};

// Explicitly instantiate template base struct, for DLL linking on Windows
template struct arrow::TypedChunkLocation<int>;
template struct arrow::TypedChunkLocation<short>;
template struct arrow::TypedChunkLocation<signed char>;
template struct arrow::TypedChunkLocation<unsigned char>;
template struct arrow::TypedChunkLocation<unsigned short>;
template struct arrow::TypedChunkLocation<unsigned int>;
template struct arrow::TypedChunkLocation<int64_t>;
template struct arrow::TypedChunkLocation<uint64_t>;
} // namespace arrow

0 comments on commit 994ffc8

Please sign in to comment.