Skip to content

Commit 2072294

Browse files
committed
fix: add missing direct includes in file_writer.h
file_writer.h uses std::string, std::unordered_map, and std::vector directly but relies on transitive includes for them. Add the missing direct includes to follow the include-what-you-use principle.
1 parent cd93b99 commit 2072294

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/iceberg/file_writer.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
#include <functional>
2626
#include <memory>
2727
#include <optional>
28+
#include <string>
29+
#include <unordered_map>
30+
#include <vector>
2831

2932
#include "iceberg/arrow_c_data.h"
3033
#include "iceberg/file_format.h"

0 commit comments

Comments
 (0)