Skip to content

fix: fix std::string_view cast for clang-tidy-check#205

Merged
lucasfang merged 2 commits intoalibaba:mainfrom
lucasfang:compaction_dev
Apr 2, 2026
Merged

fix: fix std::string_view cast for clang-tidy-check#205
lucasfang merged 2 commits intoalibaba:mainfrom
lucasfang:compaction_dev

Conversation

@lucasfang
Copy link
Copy Markdown
Collaborator

Purpose

Linked issue: close #xxx

Tests

API and Format

Documentation

Generative AI tooling

Copilot AI review requested due to automatic review settings April 1, 2026 01:25
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates a unit test to construct std::string_view using brace-initialization, addressing a clang-tidy complaint about the prior cast-style construction.

Changes:

  • Replace std::string_view(test_stringX) with std::string_view{test_stringX} in BinaryRowTest.
  • Keep the serialization test logic unchanged while adjusting construction style for clang-tidy compliance.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lucasfang lucasfang merged commit 44d062b into alibaba:main Apr 2, 2026
9 checks passed
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.

3 participants