Skip to content

streamingvisitors: fix typos and remove dead code#36621

Merged
arnej27959 merged 1 commit intomasterfrom
arnej/minor-streamingvisitors-cleanup
Apr 30, 2026
Merged

streamingvisitors: fix typos and remove dead code#36621
arnej27959 merged 1 commit intomasterfrom
arnej/minor-streamingvisitors-cleanup

Conversation

@arnej27959
Copy link
Copy Markdown
Member

Removes unused operator<<(asciistream&, FieldRef) from document.cpp — the function had an unsafe assumption (relied on null-termination of FieldRef data, as noted by its own "Better hope it's null terminated!" comment) and had no callers.

Also fixes two typos spotted during the reformat work:

  • _empySubDocument → _emptySubDocument in storagedocument.cpp
  • stray extra semicolon removed from TokensConverterTest class definition

Removes unused operator<<(asciistream&, FieldRef) from document.cpp —
the function had an unsafe assumption (relied on null-termination of
FieldRef data, as noted by its own "Better hope it's null terminated!"
comment) and had no callers.

Also fixes two typos spotted during the reformat work:
- _empySubDocument → _emptySubDocument in storagedocument.cpp
- stray extra semicolon removed from TokensConverterTest class definition
@arnej27959 arnej27959 requested a review from toregge April 30, 2026 13:07
Copy link
Copy Markdown
Member

@toregge toregge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@arnej27959 arnej27959 merged commit aea5e49 into master Apr 30, 2026
3 checks passed
@arnej27959 arnej27959 deleted the arnej/minor-streamingvisitors-cleanup branch April 30, 2026 13:22
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.

2 participants