Skip to content

Commit d77f71e

Browse files
authored
Merge pull request #545 from ewasm/cable-update
Update to cable 0.4.4
2 parents cbd9c22 + cf5c4be commit d77f71e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ include(Hunter/init)
1616

1717
cable_configure_toolchain(DEFAULT cxx17-pic)
1818

19+
cable_set_build_type(DEFAULT RelWithDebInfo CONFIGURATION_TYPES Debug;Release;RelWithDebInfo)
20+
1921
set(CMAKE_DEBUG_POSTFIX "")
2022

2123
project(hera)
2224
set(PROJECT_VERSION 0.2.5-alpha.0)
2325

24-
cable_set_build_type(DEFAULT RelWithDebInfo CONFIGURATION_TYPES Debug;Release;RelWithDebInfo)
25-
2626
cable_configure_compiler()
2727
if(CABLE_COMPILER_GNULIKE)
2828
# TODO: fix the warnings instead

src/helpers.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ string toHex(evmc_uint256be const& value) {
4141
return "0x" + os.str();
4242
}
4343

44-
string bytesAsHexStr(bytes_view bytes) {
44+
string bytesAsHexStr(bytes_view input) {
4545
stringstream ret;
4646
ret << hex << "0x";
47-
for (auto const b : bytes) {
47+
for (auto const b : input) {
4848
ret << setw(2) << setfill('0') << static_cast<int>(b);
4949
}
5050
return ret.str();

0 commit comments

Comments
 (0)