diff options
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()") |