summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins
diff options
context:
space:
mode:
authorStefan Radomski <sradomski@mintwerk.de>2016-03-07 10:10:56 (GMT)
committerStefan Radomski <sradomski@mintwerk.de>2016-03-07 10:10:56 (GMT)
commit540cd05d3656ead7ac1e16b1ac2426cc2d1df252 (patch)
tree6743dcd4ec7ae0b4c43335087fb9f64f7c0c84a3 /src/uscxml/plugins
parentde8dfa2bc37e88117457342cf3c3ce7c1b7320ae (diff)
downloaduscxml-540cd05d3656ead7ac1e16b1ac2426cc2d1df252.zip
uscxml-540cd05d3656ead7ac1e16b1ac2426cc2d1df252.tar.gz
uscxml-540cd05d3656ead7ac1e16b1ac2426cc2d1df252.tar.bz2
Some more preparations for current V8 API
Diffstat (limited to 'src/uscxml/plugins')
-rw-r--r--src/uscxml/plugins/DataModel.h2
-rw-r--r--src/uscxml/plugins/ExecutableContent.h2
-rw-r--r--src/uscxml/plugins/IOProcessor.h2
-rw-r--r--src/uscxml/plugins/Invoker.h2
-rw-r--r--src/uscxml/plugins/datamodel/ecmascript/TypedArray.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/uscxml/plugins/DataModel.h b/src/uscxml/plugins/DataModel.h
index 1a64d28..5cbd0c8 100644
--- a/src/uscxml/plugins/DataModel.h
+++ b/src/uscxml/plugins/DataModel.h
@@ -139,7 +139,7 @@ public:
virtual ~DataModel() {};
operator bool() const {
- return _impl;
+ return !!_impl;
}
bool operator< (const DataModel& other) const {
return _impl < other._impl;
diff --git a/src/uscxml/plugins/ExecutableContent.h b/src/uscxml/plugins/ExecutableContent.h
index 6916b5f..6df197c 100644
--- a/src/uscxml/plugins/ExecutableContent.h
+++ b/src/uscxml/plugins/ExecutableContent.h
@@ -60,7 +60,7 @@ public:
virtual ~ExecutableContent() {};
operator bool() const {
- return _impl;
+ return !!_impl;
}
bool operator< (const ExecutableContent& other) const {
return _impl < other._impl;
diff --git a/src/uscxml/plugins/IOProcessor.h b/src/uscxml/plugins/IOProcessor.h
index 79f759b..c770719 100644
--- a/src/uscxml/plugins/IOProcessor.h
+++ b/src/uscxml/plugins/IOProcessor.h
@@ -42,7 +42,7 @@ public:
virtual ~IOProcessor() {};
operator bool() const {
- return _impl;
+ return !!_impl;
}
bool operator< (const IOProcessor& other) const {
return _impl < other._impl;
diff --git a/src/uscxml/plugins/Invoker.h b/src/uscxml/plugins/Invoker.h
index dd3d66d..b9b767b 100644
--- a/src/uscxml/plugins/Invoker.h
+++ b/src/uscxml/plugins/Invoker.h
@@ -50,7 +50,7 @@ public:
virtual ~Invoker() {};
operator bool() const {
- return _impl;
+ return !!_impl;
}
bool operator< (const Invoker& other) const {
return _impl < other._impl;
diff --git a/src/uscxml/plugins/datamodel/ecmascript/TypedArray.cpp b/src/uscxml/plugins/datamodel/ecmascript/TypedArray.cpp
index 913d2ce..c8b73cf 100644
--- a/src/uscxml/plugins/datamodel/ecmascript/TypedArray.cpp
+++ b/src/uscxml/plugins/datamodel/ecmascript/TypedArray.cpp
@@ -75,7 +75,7 @@ bool ArrayBuffer::isView(void*) {
}
ArrayBuffer::operator bool() {
- return _blob;
+ return !!_blob;
}
ArrayBuffer ArrayBufferView::getBuffer() {