diff options
Diffstat (limited to 'shared/com_ptr.h')
-rw-r--r-- | shared/com_ptr.h | 6 |
1 files changed, 1 insertions, 5 deletions
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) }; |