aboutsummaryrefslogtreecommitdiff
path: root/src/common/base58.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-11-23 13:25:15 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-11-23 15:36:48 +0000
commit611639710d9f3665999b4ec71a52efc73aca4853 (patch)
treef96d8071362577844e221a837ae6e5b0799b304c /src/common/base58.h
parenttests: slow_memmem now returns size_t (diff)
downloadmonero-611639710d9f3665999b4ec71a52efc73aca4853.tar.xz
a few minor (but easy) performance tweaks
Found by codacy.com
Diffstat (limited to '')
-rw-r--r--src/common/base58.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/base58.h b/src/common/base58.h
index 02ca96956..69611859d 100644
--- a/src/common/base58.h
+++ b/src/common/base58.h
@@ -41,6 +41,6 @@ namespace tools
bool decode(const std::string& enc, std::string& data);
std::string encode_addr(uint64_t tag, const std::string& data);
- bool decode_addr(std::string addr, uint64_t& tag, std::string& data);
+ bool decode_addr(const std::string &addr, uint64_t& tag, std::string& data);
}
}