From b654dbfa5f3e4a4d02f72023f7c5895635aa6396 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:12:17 +0200 Subject: 3.18 --- shared/com_ptr.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'shared/com_ptr.h') diff --git a/shared/com_ptr.h b/shared/com_ptr.h index 6c7a62ab..d7178fbe 100644 --- a/shared/com_ptr.h +++ b/shared/com_ptr.h @@ -46,11 +46,7 @@ public: private: T* ptr; - struct ConversionToBool - { - int dummy; - }; - + struct ConversionToBool { int dummy; }; public: operator int ConversionToBool::* () const; //use member pointer as implicit conversion to bool (C++ Templates - Vandevoorde/Josuttis; chapter 20) }; -- cgit