From d71f76c63b952c4ce9ba933fbdba51a304872224 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Sun, 10 Jul 2016 16:05:56 +0300 Subject: [PATCH] Fix an mistake in the declaration of the negation operator for the Buffer type. --- shared/Base/Buffer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/Base/Buffer.hpp b/shared/Base/Buffer.hpp index 734cd13c..dd0946a8 100644 --- a/shared/Base/Buffer.hpp +++ b/shared/Base/Buffer.hpp @@ -395,7 +395,7 @@ public: /* -------------------------------------------------------------------------------------------- * Negation operator. */ - operator ! () const + bool operator ! () const { return (!m_Ptr); }