summaryrefslogtreecommitdiffstats
path: root/test/src/test-url.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/test-url.cpp')
-rw-r--r--test/src/test-url.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/src/test-url.cpp b/test/src/test-url.cpp
index 3165a20..5e8ea02 100644
--- a/test/src/test-url.cpp
+++ b/test/src/test-url.cpp
@@ -29,10 +29,9 @@ public:
int main(int argc, char** argv) {
{
- Interpreter* interpreter = Interpreter::fromURI("https://raw.github.com/tklab-tud/uscxml/master/test/samples/uscxml/test-execution.scxml");
+ Interpreter interpreter = Interpreter::fromURI("https://raw.github.com/tklab-tud/uscxml/master/test/samples/uscxml/test-execution.scxml");
assert(interpreter);
- interpreter->interpret();
- delete interpreter;
+ interpreter.interpret();
}
{