mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixing style issue in ExecutionFramework.cpp
It should be `auto const&` not `const auto&`
This commit is contained in:
parent
85d3ddc169
commit
66a779d267
@ -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()};
|
||||
|
Loading…
Reference in New Issue
Block a user