Commit 5f77974 1 parent 4f094a8 commit 5f77974 Copy full SHA for 5f77974
File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -708,7 +708,7 @@ namespace Core
708
708
State * ReplaceState (
709
709
StateID state_id,
710
710
State *state,
711
- const std::string & state_name
711
+ const std::string & state_name = " "
712
712
)
713
713
{
714
714
assert ( state != nullptr );
@@ -1209,6 +1209,17 @@ namespace Core
1209
1209
instrumentation = func;
1210
1210
}
1211
1211
1212
+ /* *
1213
+ * Returns the current instrumentation function. Enables access to a
1214
+ * base class' instrumentation to augment it.
1215
+ *
1216
+ * @return The existing instrumentation (which could be null).
1217
+ */
1218
+ InstrumentationFunction Instrument ()
1219
+ {
1220
+ return instrumentation;
1221
+ }
1222
+
1212
1223
1213
1224
private :
1214
1225
StateID previous_state; // / The state prior to the current one.
You can’t perform that action at this time.
0 commit comments