summaryrefslogtreecommitdiff
path: root/shared/com_ptr.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:17 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:17 +0200
commitb654dbfa5f3e4a4d02f72023f7c5895635aa6396 (patch)
tree8c1dfe7f638c0fc7afc1d08bc2fc0fd0f8646e5e /shared/com_ptr.h
parent3.17 (diff)
downloadFreeFileSync-b654dbfa5f3e4a4d02f72023f7c5895635aa6396.tar.gz
FreeFileSync-b654dbfa5f3e4a4d02f72023f7c5895635aa6396.tar.bz2
FreeFileSync-b654dbfa5f3e4a4d02f72023f7c5895635aa6396.zip
3.18
Diffstat (limited to 'shared/com_ptr.h')
-rw-r--r--shared/com_ptr.h6
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)
};
bgstack15