summaryrefslogtreecommitdiffstats
path: root/src/uscxml/messages/Event.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/messages/Event.h')
-rw-r--r--src/uscxml/messages/Event.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/uscxml/messages/Event.h b/src/uscxml/messages/Event.h
index 2edbd3e..59b2690 100644
--- a/src/uscxml/messages/Event.h
+++ b/src/uscxml/messages/Event.h
@@ -109,12 +109,12 @@ public:
return name.size() > 0;
}
- operator std::string() {
- std::stringstream ss;
- ss << *this;
- return ss.str();
- }
-
+ operator std::string() {
+ std::stringstream ss;
+ ss << *this;
+ return ss.str();
+ }
+
typedef std::multimap<std::string, Data> params_t;
typedef std::map<std::string, Data> namelist_t;
@@ -198,7 +198,7 @@ class USCXML_API ErrorEvent : public Event {
public:
ErrorEvent() : Event() {}
ErrorEvent(const std::string& msg) : Event("error.platform") {
- data.compound["msg"] = Data(msg, Data::VERBATIM);
+ data.compound["msg"] = Data(msg, Data::VERBATIM);
}
};