Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(debug command): update err msg int -> integer #2046

Merged
merged 3 commits into from
Jan 24, 2024
Merged

fix(debug command): update err msg int -> integer #2046

merged 3 commits into from
Jan 24, 2024

Conversation

AntiTopQuark
Copy link
Contributor

mapleFU
mapleFU previously approved these changes Jan 23, 2024
Copy link
Member

@mapleFU mapleFU left a comment

Choose a reason for hiding this comment

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

+1

@mapleFU
Copy link
Member

mapleFU commented Jan 23, 2024

Seems lint failed, would you mind run ./x.py format or using clang-format to format the edited file?

@AntiTopQuark
Copy link
Contributor Author

Seems lint failed, would you mind run ./x.py format or using clang-format to format the edited file?

done, thank you very much

@@ -168,7 +168,7 @@ struct StringInStatusOr<T, std::enable_if_t<sizeof(T) < sizeof(std::string)>> :
StringInStatusOr(StringInStatusOr<U>&& v) : BaseType(new std::string(*std::move(v))) {} // NOLINT
template <typename U, typename std::enable_if_t<!StringInStatusOr<U>::inplace, int> = 0>
StringInStatusOr(StringInStatusOr<U>&& v) // NOLINT
: BaseType((typename StringInStatusOr<U>::BaseType &&)(std::move(v))) {}
: BaseType((typename StringInStatusOr<U>::BaseType&&)(std::move(v))) {}
Copy link
Member

@mapleFU mapleFU Jan 23, 2024

Choose a reason for hiding this comment

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

cc @PragmaTwice 🤔 why would this file always get format?

Copy link
Member

@git-hulk git-hulk Jan 24, 2024

Choose a reason for hiding this comment

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

This was caused by clang-format-16 behaving differently from clang-format-14, that said clang-format-16 will remove the space between the type and &&, but clang-format-14 won't do that.

src/common/status.h Outdated Show resolved Hide resolved
@git-hulk git-hulk merged commit 0a2bb1a into apache:unstable Jan 24, 2024
30 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