summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Message.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/Message.h')
-rw-r--r--src/uscxml/Message.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uscxml/Message.h b/src/uscxml/Message.h
index eed9836..cb7196a 100644
--- a/src/uscxml/Message.h
+++ b/src/uscxml/Message.h
@@ -95,7 +95,7 @@ public:
};
Event() : type(INTERNAL) {}
- Event(const std::string& name) : name(name), type(INTERNAL) {}
+ Event(const std::string& name, Type type = INTERNAL) : name(name), type(type) {}
Event(const Arabica::DOM::Node<std::string>& xmlString) : type(INTERNAL) {};
bool operator< (const Event& other) const {
return this < &other;