Fixing style issue in ExecutionFramework.cpp

It should be `auto const&` not `const auto&`
This commit is contained in:
Mate Soos 2022-03-04 12:20:57 +01:00
parent 85d3ddc169
commit 66a779d267

View File

@ -266,7 +266,7 @@ h160 ExecutionFramework::logAddress(size_t _logIdx) const
bytes ExecutionFramework::logData(size_t _logIdx) const
{
const auto& data = m_evmcHost->recorded_logs.at(_logIdx).data;
auto const& data = m_evmcHost->recorded_logs.at(_logIdx).data;
// TODO: Return a copy of log data, because this is expected from REQUIRE_LOG_DATA(),
// but reference type like string_view would be preferable.
return {data.begin(), data.end()};