mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Minor optimization.
This commit is contained in:
parent
39d56ee997
commit
43faf23ed8
@ -223,7 +223,7 @@ string Assembly::assemblyString(
|
||||
}
|
||||
|
||||
Json::Value Assembly::createJsonValue(
|
||||
string _name, int _sourceIndex, size_t _modifierDepth, int _begin, int _end, string _value, string _jumpType)
|
||||
string _name, int _sourceIndex, size_t _modifierDepth, int _begin, int _end, string const& _value, string const& _jumpType)
|
||||
{
|
||||
Json::Value value{Json::objectValue};
|
||||
value["name"] = _name;
|
||||
|
@ -191,8 +191,8 @@ private:
|
||||
size_t _modifierDepth,
|
||||
int _begin,
|
||||
int _end,
|
||||
std::string _value = std::string(),
|
||||
std::string _jumpType = std::string()
|
||||
std::string const& _value = std::string(),
|
||||
std::string const& _jumpType = std::string()
|
||||
);
|
||||
static std::string toStringInHex(u256 _value);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user