diff options
Diffstat (limited to 'test/src/test-stress.cpp')
-rw-r--r-- | test/src/test-stress.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/test-stress.cpp b/test/src/test-stress.cpp index 8bd2e4a..dc54f4e 100644 --- a/test/src/test-stress.cpp +++ b/test/src/test-stress.cpp @@ -16,7 +16,7 @@ int startedAt; int lastTransitionAt; class StatusMonitor : public uscxml::InterpreterMonitor { - void beforeTakingTransition(const XERCESC_NS::DOMElement* transition) { + void beforeTakingTransition(uscxml::InterpreterImpl* impl, const XERCESC_NS::DOMElement* transition) { lastTransitionAt = time(NULL); } @@ -81,7 +81,7 @@ int main(int argc, char** argv) { LOG(INFO) << "Processing " << interpreter.getImpl()->getBaseURL(); if (interpreter) { - interpreter.setMonitor(&vm); + interpreter.addMonitor(&vm); InterpreterState state = InterpreterState::USCXML_UNDEF; int now = time(NULL); |