diff --git a/src/hera.cpp b/src/hera.cpp index fcef16e42..2cbdd63c4 100644 --- a/src/hera.cpp +++ b/src/hera.cpp @@ -26,6 +26,7 @@ #include #include +#include #include "binaryen.h" #include "debugging.h" @@ -44,15 +45,6 @@ using namespace std; using namespace hera; -// FIXME: should be part of EVMC -bool operator==(evmc_address const& lhs, evmc_address const& rhs) { - return memcmp(lhs.bytes, rhs.bytes, sizeof(lhs.bytes)) == 0; -} - -bool operator<(evmc_address const& lhs, evmc_address const& rhs) { - return memcmp(lhs.bytes, rhs.bytes, sizeof(lhs.bytes)) < 0; -} - namespace { enum class hera_evm1mode {