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 a838fd0
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<int32_t>;
template struct arrow::TypedChunkLocation<int16_t>;
template struct arrow::TypedChunkLocation<int8_t>;
template struct arrow::TypedChunkLocation<uint8_t>;
template struct arrow::TypedChunkLocation<uint16_t>;
template struct arrow::TypedChunkLocation<uint32_t>;
template struct arrow::TypedChunkLocation<int64_t>;
template struct arrow::TypedChunkLocation<uint64_t>;
} // namespace arrow

0 comments on commit a838fd0

Please sign in to comment.