diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-04-24 20:25:33 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-04-24 20:25:33 -0700 |
commit | 7c8493b3fba57b31708ba53875805f5b045d92e4 (patch) | |
tree | 810c036861d5ba9b09115a00cb7d95b33a3d9f0d /cpp/035call | |
parent | 8eff7919219c921c38c3921b7532b9608ece2741 (diff) | |
download | mu-7c8493b3fba57b31708ba53875805f5b045d92e4.tar.gz |
1173
Diffstat (limited to 'cpp/035call')
-rw-r--r-- | cpp/035call | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/035call b/cpp/035call index d01b0e30..912240ce 100644 --- a/cpp/035call +++ b/cpp/035call @@ -57,8 +57,8 @@ struct routine { inline size_t& current_step_index() { return Current_routine->calls.top().pc; } -:(replace{} "inline string recipe_name()") -inline string recipe_name() { +:(replace{} "inline const string& current_recipe_name()") +inline const string& current_recipe_name() { return Recipe[Current_routine->calls.top().running_recipe].name; } :(replace{} "inline vector<instruction>& steps()") |