-
Notifications
You must be signed in to change notification settings - Fork 294
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
Upgrade EVMC to version 7.5.0 #294
Conversation
test/utils/utils.hpp
Outdated
|
||
using bytes = std::basic_string<uint8_t>; | ||
using bytes_view = std::basic_string_view<uint8_t>; | ||
|
||
/// Encode a byte to a hex string. | ||
inline std::string hex(uint8_t b) noexcept | ||
inline auto hex(uint8_t b) |
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 is noexcept upstream.
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.
Fixed.
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.
So this function is just not needed?
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 is now done with using evmc::hex
. Sometimes I forget simple ways of doing things in C++.
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.
Ah, missed those lines in the diff.
|
||
using bytes = std::basic_string<uint8_t>; | ||
using bytes_view = std::basic_string_view<uint8_t>; | ||
|
||
/// Encode a byte to a hex string. |
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.
Nit: the others kept the docs, except this one.
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.
Fixed.
No description provided.