From 94fb58cc5d0cf5df5e890df0665fa7b40cfd4236 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Wed, 8 Jun 2016 21:10:31 +0300 Subject: [PATCH] Fix compile time error in implicit conversion to boolean from previosu commit. --- include/sqrat/sqratUtil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sqrat/sqratUtil.h b/include/sqrat/sqratUtil.h index 05402ae8..1a754ed5 100644 --- a/include/sqrat/sqratUtil.h +++ b/include/sqrat/sqratUtil.h @@ -767,7 +767,7 @@ public: /// Checks if there is an associated managed object /// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - bool operator bool () const + operator bool () const { return m_Ptr != NULL; }