a few minor (but easy) performance tweaks

Found by codacy.com
This commit is contained in:
moneromooo-monero
2018-11-23 13:25:15 +00:00
parent 3002307418
commit 611639710d
11 changed files with 21 additions and 21 deletions

View File

@@ -124,5 +124,5 @@ namespace cryptonote {
bool operator ==(const cryptonote::block& a, const cryptonote::block& b);
}
bool parse_hash256(const std::string str_hash, crypto::hash& hash);
bool parse_hash256(const std::string &str_hash, crypto::hash& hash);