summaryrefslogtreecommitdiffstats
path: root/src/bindings/swig
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-06-24 13:03:20 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-06-24 13:03:20 (GMT)
commit758bda908ded461c9d34d274a18454ffba4b7450 (patch)
treefb7f1ba28eab9f20b4ca16ed4dbc36d07dfce06e /src/bindings/swig
parentfebde41c4c69d8f38967d5c195328d468834d037 (diff)
downloaduscxml-758bda908ded461c9d34d274a18454ffba4b7450.zip
uscxml-758bda908ded461c9d34d274a18454ffba4b7450.tar.gz
uscxml-758bda908ded461c9d34d274a18454ffba4b7450.tar.bz2
- Prolog DM compiles with recent SWI release again
- Bugfixes for stress test - Beautified code
Diffstat (limited to 'src/bindings/swig')
-rw-r--r--src/bindings/swig/wrapped/WrappedDataModel.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bindings/swig/wrapped/WrappedDataModel.h b/src/bindings/swig/wrapped/WrappedDataModel.h
index 285b40a..2b1ad48 100644
--- a/src/bindings/swig/wrapped/WrappedDataModel.h
+++ b/src/bindings/swig/wrapped/WrappedDataModel.h
@@ -76,7 +76,7 @@ public:
if (assignElem.hasAttribute("location")) {
location = assignElem.getAttribute("location");
}
-
+
std::ostringstream ssAssign;
ssAssign << assignElem;
std::string tmp;
@@ -124,7 +124,9 @@ public:
init("", location, Data::toJSON(data));
}
- virtual bool evalAsBool(const std::string& elem, const std::string& content) { return false; }
+ virtual bool evalAsBool(const std::string& elem, const std::string& content) {
+ return false;
+ }
virtual void init(const std::string& dataElem, const std::string& location, const std::string& content) {}
virtual void assign(const std::string& assignElem, const std::string& location, const std::string& content) {}
virtual void eval(const std::string& scriptElem, const std::string& expr) {}