about summary refs log tree commit diff stats
path: root/054static_dispatch.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-22 16:10:23 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-22 16:10:23 -0700
commitd8509b41753c0e03eff15c462dbf09749218006f (patch)
tree54313e0b9c0e73d85853afc012976b4bce82d020 /054static_dispatch.cc
parent3b107f1863930433e771a630dfbba095fa1fd6b0 (diff)
downloadmu-d8509b41753c0e03eff15c462dbf09749218006f.tar.gz
3555
Diffstat (limited to '054static_dispatch.cc')
-rw-r--r--054static_dispatch.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/054static_dispatch.cc b/054static_dispatch.cc
index 79537a7c..c698edb2 100644
--- a/054static_dispatch.cc
+++ b/054static_dispatch.cc
@@ -150,7 +150,7 @@ Transform.push_back(resolve_ambiguous_calls);  // idempotent
 list<call> resolve_stack;
 
 :(code)
-void resolve_ambiguous_calls(recipe_ordinal r) {
+void resolve_ambiguous_calls(const recipe_ordinal r) {
   recipe& caller_recipe = get(Recipe, r);
   trace(9991, "transform") << "--- resolve ambiguous calls for recipe " << caller_recipe.name << end();
   for (int index = 0;  index < SIZE(caller_recipe.steps);  ++index) {
@@ -558,7 +558,7 @@ def foo x:num -> y:num [
 +mem: storing 35 in location 1
 
 :(code)
-string header_label(recipe_ordinal r) {
+string header_label(const recipe_ordinal r) {
   return header_label(get(Recipe, r));
 }
 string header_label(const recipe& caller) {