diff options
Diffstat (limited to 'src/uscxml/plugins')
-rw-r--r-- | src/uscxml/plugins/DataModel.h | 2 | ||||
-rw-r--r-- | src/uscxml/plugins/ExecutableContent.h | 2 | ||||
-rw-r--r-- | src/uscxml/plugins/IOProcessor.h | 2 | ||||
-rw-r--r-- | src/uscxml/plugins/Invoker.h | 2 | ||||
-rw-r--r-- | src/uscxml/plugins/datamodel/ecmascript/TypedArray.cpp | 2 |
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() { |