Skip to content

Commit

Permalink
fix GCC build
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Feb 2, 2024
1 parent aac672e commit 66139bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/state/state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ void State::rollback(size_t checkpoint)
StateDiff State::build_diff()
{
StateDiff d;
for (const auto& e : m_journal)
for (const auto& ee : m_journal)
{
std::visit(
[&d, this](const auto& e) {
Expand Down Expand Up @@ -336,7 +336,7 @@ StateDiff State::build_diff()
static_assert(std::is_void_v<T>, "unhandled journal entry type");
}
},
e);
ee);
}
return d;
}
Expand Down
2 changes: 1 addition & 1 deletion test/statetest/statetest_runner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace evmone::test
{
std::string print_state(const TestState& s)
static std::string print_state(const TestState& s)
{
std::stringstream out;
const std::map<address, state::AccountBase> ordered(
Expand Down

0 comments on commit 66139bb

Please sign in to comment.