From 3df1842ccf623d6635456653d3bb7b9cef0e5481 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 13 Jun 2016 16:39:57 -0700 Subject: 3056 --- 068hash.cc | 4 ++-- 1 file 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); -- cgit 1.4.1-2-gfad0