summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/DataModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/plugins/DataModel.h')
-rw-r--r--src/uscxml/plugins/DataModel.h2
1 files changed, 1 insertions, 1 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;