mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix error in g++7 with -O2 flag
This commit is contained in:
parent
00accd9daa
commit
d9addbcf49
@ -922,7 +922,7 @@ string YulUtilFunctions::readFromCalldata(Type const& _type)
|
|||||||
return readFromMemoryOrCalldata(_type, true);
|
return readFromMemoryOrCalldata(_type, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
string YulUtilFunctions::updateStorageValueFunction(Type const& _type, boost::optional<unsigned> const _offset)
|
string YulUtilFunctions::updateStorageValueFunction(Type const& _type, boost::optional<unsigned> const& _offset)
|
||||||
{
|
{
|
||||||
string const functionName =
|
string const functionName =
|
||||||
"update_storage_value_" +
|
"update_storage_value_" +
|
||||||
|
@ -193,7 +193,7 @@ public:
|
|||||||
/// the specified slot and offset. If offset is not given, it is expected as
|
/// the specified slot and offset. If offset is not given, it is expected as
|
||||||
/// runtime parameter.
|
/// runtime parameter.
|
||||||
/// signature: (slot, [offset,] value)
|
/// signature: (slot, [offset,] value)
|
||||||
std::string updateStorageValueFunction(Type const& _type, boost::optional<unsigned> const _offset = boost::optional<unsigned>());
|
std::string updateStorageValueFunction(Type const& _type, boost::optional<unsigned> const& _offset = boost::optional<unsigned>());
|
||||||
|
|
||||||
/// Returns the name of a function that will write the given value to
|
/// Returns the name of a function that will write the given value to
|
||||||
/// the specified address.
|
/// the specified address.
|
||||||
|
Loading…
Reference in New Issue
Block a user