about summary refs log tree commit diff stats
path: root/054static_dispatch.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-12-03 23:51:42 -0800
committerKartik K. Agaram <vc@akkartik.com>2017-12-03 23:51:42 -0800
commit9a20f9e32252357e4a445b2eb98bb5d8725f2157 (patch)
tree168a01e8883f6cc12b939a01d73a6624c9c688e6 /054static_dispatch.cc
parent4a48bedcd1d708a43d43dc6259a4e45c52ea3d00 (diff)
downloadmu-9a20f9e32252357e4a445b2eb98bb5d8725f2157.tar.gz
4135
Diffstat (limited to '054static_dispatch.cc')
-rw-r--r--054static_dispatch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/054static_dispatch.cc b/054static_dispatch.cc
index 8a026d90..0c0deffe 100644
--- a/054static_dispatch.cc
+++ b/054static_dispatch.cc
@@ -179,7 +179,7 @@ void resolve_ambiguous_calls(const recipe_ordinal r) {
   }
 }
 
-string best_variant(instruction& inst, const recipe& caller_recipe) {
+string best_variant(const instruction& inst, const recipe& caller_recipe) {
   const vector<recipe_ordinal>& variants = get(Recipe_variants, inst.name);
   vector<recipe_ordinal> candidates;