about summary refs log tree commit diff stats
path: root/html/020run.cc.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-16 16:04:11 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-16 16:04:11 -0700
commitced133e40290c30809e6d632cdf1e6f749ea9dd5 (patch)
tree8e217620ee5016db6d1be429d2724bd9adfd0881 /html/020run.cc.html
parentaa2fd725c0e5129bd4a750261f97ababa8af9a12 (diff)
downloadmu-ced133e40290c30809e6d632cdf1e6f749ea9dd5.tar.gz
3371
Diffstat (limited to 'html/020run.cc.html')
-rw-r--r--html/020run.cc.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/html/020run.cc.html b/html/020run.cc.html
index a4ddb087..08909f94 100644
--- a/html/020run.cc.html
+++ b/html/020run.cc.html
@@ -160,6 +160,10 @@ map&lt;string<span class="Delimiter">,</span> <span class="Normal">int</span>&gt
   <span class="Identifier">return</span> get<span class="Delimiter">(</span>Recipe<span class="Delimiter">,</span> Current_routine<span class="Delimiter">-&gt;</span>running_recipe<span class="Delimiter">).</span>name<span class="Delimiter">;</span>
 <span class="Delimiter">}</span>
 
+<span class="Normal">const</span> recipe&amp; current_recipe<span class="Delimiter">()</span> <span class="Delimiter">{</span>
+  <span class="Identifier">return</span> get<span class="Delimiter">(</span>Recipe<span class="Delimiter">,</span> Current_routine<span class="Delimiter">-&gt;</span>running_recipe<span class="Delimiter">);</span>
+<span class="Delimiter">}</span>
+
 <span class="Normal">const</span> instruction&amp; current_instruction<span class="Delimiter">()</span> <span class="Delimiter">{</span>
   <span class="Identifier">return</span> get<span class="Delimiter">(</span>Recipe<span class="Delimiter">,</span> Current_routine<span class="Delimiter">-&gt;</span>running_recipe<span class="Delimiter">).</span>steps<span class="Delimiter">.</span>at<span class="Delimiter">(</span>Current_routine<span class="Delimiter">-&gt;</span>running_step_index<span class="Delimiter">);</span>
 <span class="Delimiter">}</span>