diff options
Diffstat (limited to 'src/uscxml/Interpreter.h')
-rw-r--r-- | src/uscxml/Interpreter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uscxml/Interpreter.h b/src/uscxml/Interpreter.h index f27d93e..c65c8f7 100644 --- a/src/uscxml/Interpreter.h +++ b/src/uscxml/Interpreter.h @@ -561,7 +561,7 @@ public: virtual ~Interpreter() {}; operator bool() const { - return (_impl && _impl->_state != USCXML_DESTROYED); + return (!!_impl && _impl->_state != USCXML_DESTROYED); } bool operator< (const Interpreter& other) const { return _impl < other._impl; |