-
Notifications
You must be signed in to change notification settings - Fork 472
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Seems lint failed, would you mind run |
done, thank you very much |
src/common/status.h
Outdated
@@ -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))) {} |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
#2045