diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-10-10 23:07:20 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-10-15 11:58:18 +0100 |
commit | ab002a1d971df6e5c332d805fd55ed982d365325 (patch) | |
tree | c6aa40c418ee222d07240a5310ca5f21dfac26ef /src/ringct/rctOps.h | |
parent | Merge pull request #1203 (diff) | |
download | monero-ab002a1d971df6e5c332d805fd55ed982d365325.tar.xz |
ringct: pass vectors by const ref where possible
Diffstat (limited to 'src/ringct/rctOps.h')
-rw-r--r-- | src/ringct/rctOps.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ringct/rctOps.h b/src/ringct/rctOps.h index 1e71c645d..a7e13eefa 100644 --- a/src/ringct/rctOps.h +++ b/src/ringct/rctOps.h @@ -149,8 +149,8 @@ namespace rct { //for mg sigs key cn_fast_hash128(const void * in); key hash_to_scalar128(const void * in); - key cn_fast_hash(ctkeyV PC); - key hash_to_scalar(ctkeyV PC); + key cn_fast_hash(const ctkeyV &PC); + key hash_to_scalar(const ctkeyV &PC); //for mg sigs key cn_fast_hash(const keyV &keys); key hash_to_scalar(const keyV &keys); |