Skip to content

Commit ff7f5b8

Browse files
authored
fix: add missing direct include of <vector> in file_writer.h (#584)
## Summary - `file_writer.h` uses `std::vector<int64_t>` as the return type of `Writer::split_offsets()` but does not directly include `<vector>`, relying on a transitive include - Add the missing `<vector>` include to follow the include-what-you-use principle Co-authored-by: shangxinli <shangxinli@users.noreply.github.com>
1 parent cd93b99 commit ff7f5b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/iceberg/file_writer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <functional>
2626
#include <memory>
2727
#include <optional>
28+
#include <vector>
2829

2930
#include "iceberg/arrow_c_data.h"
3031
#include "iceberg/file_format.h"

0 commit comments

Comments
 (0)