diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-06-13 16:39:57 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-06-13 16:39:57 -0700 |
commit | 3df1842ccf623d6635456653d3bb7b9cef0e5481 (patch) | |
tree | da690b01c90e30299c8d0039bd1174a8a96a6097 /068hash.cc | |
parent | 5e15a74f06e19e75954547cadc8bc73f9034727e (diff) | |
download | mu-3df1842ccf623d6635456653d3bb7b9cef0e5481.tar.gz |
3056
Diffstat (limited to '068hash.cc')
-rw-r--r-- | 068hash.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/068hash.cc b/068hash.cc index 0d28d364..704ec6a1 100644 --- a/068hash.cc +++ b/068hash.cc @@ -22,7 +22,7 @@ case HASH: { } :(before "End Primitive Recipe Implementations") case HASH: { - reagent/*copy*/ input = current_instruction().ingredients.at(0); + const reagent& input = current_instruction().ingredients.at(0); products.resize(1); products.at(0).push_back(hash(0, input)); break; @@ -31,7 +31,7 @@ case HASH: { //: in all the code below, the intermediate results of hashing are threaded through 'h' :(code) -size_t hash(size_t h, reagent& r) { +size_t hash(size_t h, reagent/*copy*/ r) { canonize(r); if (is_mu_string(r)) // optimization return hash_mu_string(h, r); |