diff --git a/src/uscxml/interpreter/InterpreterMonitor.h b/src/uscxml/interpreter/InterpreterMonitor.h index 64c281c01..4502e34e0 100644 --- a/src/uscxml/interpreter/InterpreterMonitor.h +++ b/src/uscxml/interpreter/InterpreterMonitor.h @@ -25,6 +25,7 @@ #include "uscxml/interpreter/Logging.h" #include "uscxml/debug/InterpreterIssue.h" +#include #include #define USCXML_MONITOR_CATCH(callback) \ @@ -211,7 +212,6 @@ class USCXML_API LambdaMonitor : public InterpreterMonitor { const std::string& stateName, const XERCESC_NS::DOMElement* state)> callback, bool after = false) { - _beforeEnteringState = callback; if (after) { _afterEnteringState = callback; } else {