Skip to content

fix: add missing direct include of <vector> in file_writer.h#584

Open
shangxinli wants to merge 1 commit intoapache:mainfrom
shangxinli:fix-missing-unordered-map-include
Open

fix: add missing direct include of <vector> in file_writer.h#584
shangxinli wants to merge 1 commit intoapache:mainfrom
shangxinli:fix-missing-unordered-map-include

Conversation

@shangxinli
Copy link
Contributor

@shangxinli shangxinli commented Mar 1, 2026

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

file_writer.h uses std::vector directly (split_offsets return type)
but relies on a transitive include for it. Add the missing <vector>
include to follow the include-what-you-use principle.
@shangxinli shangxinli force-pushed the fix-missing-unordered-map-include branch from 2072294 to d48e5c8 Compare March 1, 2026 14:42
@shangxinli shangxinli changed the title fix: add missing direct includes in file_writer.h fix: add missing direct include of <vector> in file_writer.h Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant